Interface CfnLabelProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnLabelProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-31T18:43:31.003Z") @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();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The label name.

      Pattern: ^[0-9a-z_-]+$

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The label description.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

    • builder

      @Stability(Stable) static CfnLabelProps.Builder builder()
      Returns:
      a CfnLabelProps.Builder of CfnLabelProps