Interface CfnAliasProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAliasProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:39.236Z")
@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")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAliasPropsstatic final classAn implementation forCfnAliasProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAliasProps.Builderbuilder()default StringA human-readable description of the alias.getName()A descriptive label that is associated with an alias.The routing configuration, including routing type and fleet target, for the alias.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
A descriptive label that is associated with an alias.Alias names do not need to be unique.
- See Also:
-
getRoutingStrategy
The routing configuration, including routing type and fleet target, for the alias.Returns union: either
IResolvableorCfnAlias.RoutingStrategyProperty- See Also:
-
getDescription
A human-readable description of the alias.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnAliasProps.BuilderofCfnAliasProps
-