@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:18.931Z") @Stability(value=Stable) public class CfnApp 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.resiliencehub.*;
CfnApp cfnApp = CfnApp.Builder.create(this, "MyCfnApp")
.appTemplateBody("appTemplateBody")
.name("name")
.resourceMappings(List.of(ResourceMappingProperty.builder()
.mappingType("mappingType")
.physicalResourceId(PhysicalResourceIdProperty.builder()
.identifier("identifier")
.type("type")
// the properties below are optional
.awsAccountId("awsAccountId")
.awsRegion("awsRegion")
.build())
// the properties below are optional
.logicalStackName("logicalStackName")
.resourceName("resourceName")
.build()))
// the properties below are optional
.description("description")
.resiliencyPolicyArn("resiliencyPolicyArn")
.tags(Map.of(
"tagsKey", "tags"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnApp.Builder
A fluent builder for
CfnApp. |
static interface |
CfnApp.PhysicalResourceIdProperty
Example:
|
static interface |
CfnApp.ResourceMappingProperty
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 |
|---|---|
|
CfnApp(software.constructs.Construct scope,
String id,
CfnAppProps props)
Create a new `AWS::ResilienceHub::App`.
|
protected |
CfnApp(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnApp(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppTemplateBody()
`AWS::ResilienceHub::App.AppTemplateBody`.
|
String |
getAttrAppArn() |
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::ResilienceHub::App.Description`.
|
String |
getName()
`AWS::ResilienceHub::App.Name`.
|
String |
getResiliencyPolicyArn()
`AWS::ResilienceHub::App.ResiliencyPolicyArn`.
|
Object |
getResourceMappings()
`AWS::ResilienceHub::App.ResourceMappings`.
|
TagManager |
getTags()
`AWS::ResilienceHub::App.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAppTemplateBody(String value)
`AWS::ResilienceHub::App.AppTemplateBody`.
|
void |
setDescription(String value)
`AWS::ResilienceHub::App.Description`.
|
void |
setName(String value)
`AWS::ResilienceHub::App.Name`.
|
void |
setResiliencyPolicyArn(String value)
`AWS::ResilienceHub::App.ResiliencyPolicyArn`.
|
void |
setResourceMappings(IResolvable value)
`AWS::ResilienceHub::App.ResourceMappings`.
|
void |
setResourceMappings(List<Object> value)
`AWS::ResilienceHub::App.ResourceMappings`.
|
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 CfnApp(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnApp(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnApp(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnAppProps 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 getAppTemplateBody()
@Stability(value=Stable)
public void setAppTemplateBody(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getAttrAppArn()
@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) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getResiliencyPolicyArn()
@Stability(value=Stable)
public void setResiliencyPolicyArn(@Nullable
String value)
@Stability(value=Stable) @NotNull public Object getResourceMappings()
@Stability(value=Stable)
public void setResourceMappings(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setResourceMappings(@NotNull
List<Object> value)
@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.