@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.363Z") @Stability(value=Stable) public class CfnTagAssociation extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lakeformation.*;
Object catalog;
Object tableWildcard;
CfnTagAssociation cfnTagAssociation = CfnTagAssociation.Builder.create(this, "MyCfnTagAssociation")
.lfTags(List.of(LFTagPairProperty.builder()
.catalogId("catalogId")
.tagKey("tagKey")
.tagValues(List.of("tagValues"))
.build()))
.resource(ResourceProperty.builder()
.catalog(catalog)
.database(DatabaseResourceProperty.builder()
.catalogId("catalogId")
.name("name")
.build())
.table(TableResourceProperty.builder()
.catalogId("catalogId")
.databaseName("databaseName")
// the properties below are optional
.name("name")
.tableWildcard(tableWildcard)
.build())
.tableWithColumns(TableWithColumnsResourceProperty.builder()
.catalogId("catalogId")
.columnNames(List.of("columnNames"))
.databaseName("databaseName")
.name("name")
.build())
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnTagAssociation.Builder
A fluent builder for
CfnTagAssociation. |
static interface |
CfnTagAssociation.DatabaseResourceProperty
Example:
|
static interface |
CfnTagAssociation.LFTagPairProperty
Example:
|
static interface |
CfnTagAssociation.ResourceProperty
Example:
|
static interface |
CfnTagAssociation.TableResourceProperty
Example:
|
static interface |
CfnTagAssociation.TableWithColumnsResourceProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnTagAssociation(software.constructs.Construct scope,
String id,
CfnTagAssociationProps props)
Create a new `AWS::LakeFormation::TagAssociation`.
|
protected |
CfnTagAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnTagAssociation(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrResourceIdentifier() |
String |
getAttrTagsIdentifier() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getLfTags()
`AWS::LakeFormation::TagAssociation.LFTags`.
|
Object |
getResource()
`AWS::LakeFormation::TagAssociation.Resource`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setLfTags(IResolvable value)
`AWS::LakeFormation::TagAssociation.LFTags`.
|
void |
setLfTags(List<Object> value)
`AWS::LakeFormation::TagAssociation.LFTags`.
|
void |
setResource(CfnTagAssociation.ResourceProperty value)
`AWS::LakeFormation::TagAssociation.Resource`.
|
void |
setResource(IResolvable value)
`AWS::LakeFormation::TagAssociation.Resource`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnTagAssociation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnTagAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnTagAssociation(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnTagAssociationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrResourceIdentifier()
@Stability(value=Stable) @NotNull public String getAttrTagsIdentifier()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getLfTags()
@Stability(value=Stable)
public void setLfTags(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setLfTags(@NotNull
List<Object> value)
@Stability(value=Stable) @NotNull public Object getResource()
@Stability(value=Stable)
public void setResource(@NotNull
CfnTagAssociation.ResourceProperty value)
@Stability(value=Stable)
public void setResource(@NotNull
IResolvable value)
Copyright © 2022. All rights reserved.