Interface CfnAliasProps

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

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

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.gamelift.*;
 CfnAliasProps cfnAliasProps = CfnAliasProps.builder()
         .name("name")
         .routingStrategy(RoutingStrategyProperty.builder()
                 .type("type")
                 // the properties below are optional
                 .fleetId("fleetId")
                 .message("message")
                 .build())
         // the properties below are optional
         .description("description")
         .build();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      A descriptive label that is associated with an alias.

      Alias names do not need to be unique.

    • getRoutingStrategy

      @Stability(Stable) @NotNull Object getRoutingStrategy()
      The routing configuration, including routing type and fleet target, for the alias.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      A human-readable description of the alias.
    • builder

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