@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.564Z") @Stability(value=Stable) public interface CfnAppProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnAppProps cfnAppProps = CfnAppProps.builder()
.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")
.terraformSourceName("terraformSourceName")
.build()))
// the properties below are optional
.appAssessmentSchedule("appAssessmentSchedule")
.description("description")
.resiliencyPolicyArn("resiliencyPolicyArn")
.tags(Map.of(
"tagsKey", "tags"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAppProps.Builder
A builder for
CfnAppProps |
static class |
CfnAppProps.Jsii$Proxy
An implementation for
CfnAppProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnAppProps.Builder |
builder() |
default String |
getAppAssessmentSchedule()
`AWS::ResilienceHub::App.AppAssessmentSchedule`.
|
String |
getAppTemplateBody()
A string containing a full Resilience Hub app template body.
|
default String |
getDescription()
The optional description for an app.
|
String |
getName()
The name for the application.
|
default String |
getResiliencyPolicyArn()
The Amazon Resource Name (ARN) of the resiliency policy.
|
Object |
getResourceMappings()
An array of ResourceMapping objects.
|
default Map<String,String> |
getTags()
The tags assigned to the resource.
|
@Stability(value=Stable) @NotNull String getAppTemplateBody()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull Object getResourceMappings()
@Stability(value=Stable) @Nullable default String getAppAssessmentSchedule()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getResiliencyPolicyArn()
@Stability(value=Stable) @Nullable default Map<String,String> getTags()
A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
@Stability(value=Stable) static CfnAppProps.Builder builder()
CfnAppProps.Builder of CfnAppPropsCopyright © 2022. All rights reserved.