@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:52.111Z") public class CfnStreamingImage extends CfnResource implements IInspectable
The AWS::NimbleStudio::StreamingImage
resource creates a streaming image in a studio. A streaming image defines the operating system and software to be used in an streaming session.
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.nimblestudio.*; CfnStreamingImage cfnStreamingImage = CfnStreamingImage.Builder.create(this, "MyCfnStreamingImage") .ec2ImageId("ec2ImageId") .name("name") .studioId("studioId") // the properties below are optional .description("description") .tags(Map.of( "tagsKey", "tags")) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnStreamingImage.Builder
A fluent builder for
CfnStreamingImage . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnStreamingImage(Construct scope,
java.lang.String id,
CfnStreamingImageProps props)
Create a new `AWS::NimbleStudio::StreamingImage`.
|
protected |
CfnStreamingImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnStreamingImage(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getAttrEulaIds()
The list of IDs of EULAs that must be accepted before a streaming session can be started using this streaming image.
|
java.lang.String |
getAttrOwner()
The owner of the streaming image, either the studioId that contains the streaming image or 'amazon' for images that are provided by .
|
java.lang.String |
getAttrPlatform()
The platform of the streaming image, either WINDOWS or LINUX.
|
java.lang.String |
getAttrStreamingImageId()
The unique identifier for the streaming image resource.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDescription()
A human-readable description of the streaming image.
|
java.lang.String |
getEc2ImageId()
The ID of an EC2 machine image with which to create the streaming image.
|
java.lang.String |
getName()
A friendly name for a streaming image resource.
|
java.lang.String |
getStudioId()
The unique identifier for a studio resource.
|
TagManager |
getTags()
An array of key-value pairs to apply to this resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setDescription(java.lang.String value)
A human-readable description of the streaming image.
|
void |
setEc2ImageId(java.lang.String value)
The ID of an EC2 machine image with which to create the streaming image.
|
void |
setName(java.lang.String value)
A friendly name for a streaming image resource.
|
void |
setStudioId(java.lang.String value)
The unique identifier for a studio resource.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnStreamingImage(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnStreamingImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnStreamingImage(Construct scope, java.lang.String id, CfnStreamingImageProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.util.List<java.lang.String> getAttrEulaIds()
public java.lang.String getAttrOwner()
public java.lang.String getAttrPlatform()
public java.lang.String getAttrStreamingImageId()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
For more information, see Tag .
public java.lang.String getEc2ImageId()
public void setEc2ImageId(java.lang.String value)
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.String getStudioId()
In Nimble Studio , all other resources are contained in a studio resource.
public void setStudioId(java.lang.String value)
In Nimble Studio , all other resources are contained in a studio resource.
public java.lang.String getDescription()
public void setDescription(java.lang.String value)