Interface CfnSegmentProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.743Z") @Stability(Stable) public interface CfnSegmentProps extends
Properties for defining a CfnSegment.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnSegmentProps cfnSegmentProps = CfnSegmentProps.builder()
         // the properties below are optional
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      A name for the segment.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      An optional description for this segment.
    • getPattern

      @Stability(Stable) @Nullable default String getPattern()
      The pattern to use for the segment.

      For more information about pattern syntax, see Segment rule pattern syntax .

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      Assigns one or more tags (key-value pairs) to the feature.

      Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

      Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.

      You can associate as many as 50 tags with a feature.

      For more information, see Tagging AWS resources .

    • builder

      @Stability(Stable) static CfnSegmentProps.Builder builder()
      a CfnSegmentProps.Builder of CfnSegmentProps