Skip to content
v2.277.0

LFTagProperty Struct ​

The LF-tag key and values attached to a resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lakeformation as lakeformation } from 'aws-cdk-lib';
const lFTagProperty: lakeformation.CfnPrincipalPermissions.LFTagProperty = {
  tagKey: 'tagKey',
  tagValues: ['tagValues'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lakeformation as lakeformation

l_f_tag_property = lakeformation.CfnPrincipalPermissions.LFTagProperty(
    tag_key="tagKey",
    tag_values=["tagValues"]
)
java
// 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.*;

LFTagProperty lFTagProperty = LFTagProperty.builder()
        .tagKey("tagKey")
        .tagValues(List.of("tagValues"))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.LakeFormation;

var lFTagProperty = new LFTagProperty {
    TagKey = "tagKey",
    TagValues = new [] { "tagValues" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

lFTagProperty := &LFTagProperty{
	TagKey: jsii.String("tagKey"),
	TagValues: []*string{
		jsii.String("tagValues"),
	},
}

Properties ​

tagKeyoptionalstringtag_keyoptionalstrtagKeyoptionalStringTagKeyoptionalstringTagKeyoptional*string#
The key-name for the LF-tag.
tagValuesoptionalstring[]tag_valuesoptionaltyping.List[str]tagValuesoptionalList<String>TagValuesoptionalstring[]TagValuesoptional*[]*string#
A list of possible values of the corresponding `TagKey` of an LF-tag key-value pair.