Interface CfnUserGroupProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.512Z") @Stability(Stable) public interface CfnUserGroupProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnUserGroup.

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.elasticache.*;
 CfnUserGroupProps cfnUserGroupProps = CfnUserGroupProps.builder()
         .engine("engine")
         .userGroupId("userGroupId")
         .userIds(List.of("userIds"))
         // the properties below are optional
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getEngine

      @Stability(Stable) @NotNull String getEngine()
      The current supported value is redis.
    • getUserGroupId

      @Stability(Stable) @NotNull String getUserGroupId()
      The ID of the user group.
    • getUserIds

      @Stability(Stable) @NotNull List<String> getUserIds()
      The list of user IDs that belong to the user group.

      A user named default must be included.

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      AWS::ElastiCache::UserGroup.Tags.
    • builder

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