Interface CfnLabelProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLabelProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:39.135Z")
@Stability(Stable)
public interface CfnLabelProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLabel.
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.frauddetector.*;
CfnLabelProps cfnLabelProps = CfnLabelProps.builder()
.name("name")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLabelPropsstatic final classAn implementation forCfnLabelProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnLabelProps.Builderbuilder()default StringThe label description.getName()The label name.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The label name.Pattern:
^[0-9a-z_-]+$- See Also:
-
getDescription
The label description.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnLabelProps.BuilderofCfnLabelProps
-