Interface CfnLabelProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLabelProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:19.524Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLabelProps
static final class
An implementation forCfnLabelProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnLabelProps.Builder
builder()
default String
The 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.Builder
ofCfnLabelProps
-