@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:16.022Z") @Stability(value=Stable) public class CfnAppBlock extends CfnResource implements IInspectable
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.appstream.*;
CfnAppBlock cfnAppBlock = CfnAppBlock.Builder.create(this, "MyCfnAppBlock")
.name("name")
.setupScriptDetails(ScriptDetailsProperty.builder()
.executablePath("executablePath")
.scriptS3Location(S3LocationProperty.builder()
.s3Bucket("s3Bucket")
.s3Key("s3Key")
.build())
.timeoutInSeconds(123)
// the properties below are optional
.executableParameters("executableParameters")
.build())
.sourceS3Location(S3LocationProperty.builder()
.s3Bucket("s3Bucket")
.s3Key("s3Key")
.build())
// the properties below are optional
.description("description")
.displayName("displayName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnAppBlock.Builder
A fluent builder for
CfnAppBlock. |
static interface |
CfnAppBlock.S3LocationProperty
Example:
|
static interface |
CfnAppBlock.ScriptDetailsProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnAppBlock(software.constructs.Construct scope,
String id,
CfnAppBlockProps props)
Create a new `AWS::AppStream::AppBlock`.
|
protected |
CfnAppBlock(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnAppBlock(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
String |
getAttrCreatedTime() |
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::AppStream::AppBlock.Description`.
|
String |
getDisplayName()
`AWS::AppStream::AppBlock.DisplayName`.
|
String |
getName()
`AWS::AppStream::AppBlock.Name`.
|
Object |
getSetupScriptDetails()
`AWS::AppStream::AppBlock.SetupScriptDetails`.
|
Object |
getSourceS3Location()
`AWS::AppStream::AppBlock.SourceS3Location`.
|
TagManager |
getTags()
`AWS::AppStream::AppBlock.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
`AWS::AppStream::AppBlock.Description`.
|
void |
setDisplayName(String value)
`AWS::AppStream::AppBlock.DisplayName`.
|
void |
setName(String value)
`AWS::AppStream::AppBlock.Name`.
|
void |
setSetupScriptDetails(CfnAppBlock.ScriptDetailsProperty value)
`AWS::AppStream::AppBlock.SetupScriptDetails`.
|
void |
setSetupScriptDetails(IResolvable value)
`AWS::AppStream::AppBlock.SetupScriptDetails`.
|
void |
setSourceS3Location(CfnAppBlock.S3LocationProperty value)
`AWS::AppStream::AppBlock.SourceS3Location`.
|
void |
setSourceS3Location(IResolvable value)
`AWS::AppStream::AppBlock.SourceS3Location`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnAppBlock(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnAppBlock(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnAppBlock(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnAppBlockProps 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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrCreatedTime()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDisplayName()
@Stability(value=Stable)
public void setDisplayName(@Nullable
String value)
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getSetupScriptDetails()
@Stability(value=Stable)
public void setSetupScriptDetails(@NotNull
CfnAppBlock.ScriptDetailsProperty value)
@Stability(value=Stable)
public void setSetupScriptDetails(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public Object getSourceS3Location()
@Stability(value=Stable)
public void setSourceS3Location(@NotNull
CfnAppBlock.S3LocationProperty value)
@Stability(value=Stable)
public void setSourceS3Location(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.