Class CfnStreamGroup

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.106.0 (build e852934)", date="2025-03-12T01:36:39.027Z") @Stability(Stable) public class CfnStreamGroup extends CfnResource implements IInspectable, ITaggableV2
Definition of AWS::GameLiftStreams::StreamGroup Resource Type.

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.gameliftstreams.*;
 CfnStreamGroup cfnStreamGroup = CfnStreamGroup.Builder.create(this, "MyCfnStreamGroup")
         .description("description")
         .locationConfigurations(List.of(LocationConfigurationProperty.builder()
                 .locationName("locationName")
                 // the properties below are optional
                 .alwaysOnCapacity(123)
                 .onDemandCapacity(123)
                 .build()))
         .streamClass("streamClass")
         // the properties below are optional
         .defaultApplication(DefaultApplicationProperty.builder()
                 .arn("arn")
                 .id("id")
                 .build())
         .tags(Map.of(
                 "tagsKey", "tags"))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnStreamGroup

      protected CfnStreamGroup(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnStreamGroup

      protected CfnStreamGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnStreamGroup

      @Stability(Stable) public CfnStreamGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnStreamGroupProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getDescription

      @Stability(Stable) @NotNull public String getDescription()
    • setDescription

      @Stability(Stable) public void setDescription(@NotNull String value)
    • getLocationConfigurations

      @Stability(Stable) @NotNull public Object getLocationConfigurations()
    • setLocationConfigurations

      @Stability(Stable) public void setLocationConfigurations(@NotNull IResolvable value)
    • setLocationConfigurations

      @Stability(Stable) public void setLocationConfigurations(@NotNull List<Object> value)
    • getStreamClass

      @Stability(Stable) @NotNull public String getStreamClass()
    • setStreamClass

      @Stability(Stable) public void setStreamClass(@NotNull String value)
    • getDefaultApplication

      @Stability(Stable) @Nullable public Object getDefaultApplication()
    • setDefaultApplication

      @Stability(Stable) public void setDefaultApplication(@Nullable IResolvable value)
    • setDefaultApplication

      @Stability(Stable) public void setDefaultApplication(@Nullable CfnStreamGroup.DefaultApplicationProperty value)
    • getTags

      @Stability(Stable) @Nullable public Map<String,String> getTags()
    • setTags

      @Stability(Stable) public void setTags(@Nullable Map<String,String> value)