Class CfnAppProps.Jsii$Proxy
- All Implemented Interfaces:
CfnAppProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnAppProps
CfnAppProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.resiliencehub.CfnAppProps
CfnAppProps.Builder, CfnAppProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnAppProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnAppProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringAssessment execution schedule with 'Daily' or 'Disabled' values.final StringA JSON string that provides information about your application structure.final StringOptional description for an application.final ObjectThe list of events you would like to subscribe and get notification for.final StringgetName()Name for the application.final ObjectDefines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.final StringThe Amazon Resource Name (ARN) of the resiliency policy.final ObjectAn array ofResourceMappingobjects.getTags()Tags assigned to the resource.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnAppProps.Builder.
-
-
Method Details
-
getAppTemplateBody
Description copied from interface:CfnAppPropsA JSON string that provides information about your application structure.To learn more about the
appTemplateBodytemplate, see the sample template in Sample appTemplateBody template .The
appTemplateBodyJSON string has the following structure:resources
The list of logical resources that needs to be included in the AWS Resilience Hub application.
Type: Array
Don't add the resources that you want to exclude.
Each
resourcesarray item includes the following fields:logicalResourceId
The logical identifier of the resource.
Type: Object
Each
logicalResourceIdobject includes the following fields:identifier
Identifier of the resource.
Type: String
logicalStackName
Name of the AWS CloudFormation stack this resource belongs to.
Type: String
resourceGroupName
Name of the resource group this resource belongs to.
Type: String
terraformSourceName
Name of the Terraform S3 state file this resource belongs to.
Type: String
eksSourceName
Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.
This parameter accepts values in "eks-cluster/namespace" format.
Type: String
type
The type of resource.
Type: string
name
Name of the resource.
Type: String
additionalInfo
Additional configuration parameters for an AWS Resilience Hub application. If you want to implement
additionalInfothrough the AWS Resilience Hub console rather than using an API call, see Configure the application configuration parameters .Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key:
"failover-regions"Value:
"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"appComponents
The list of Application Components (AppComponent) that this resource belongs to. If an AppComponent is not part of the AWS Resilience Hub application, it will be added.
Type: Array
Each
appComponentsarray item includes the following fields:name
Name of the AppComponent.
Type: String
type
The type of AppComponent. For more information about the types of AppComponent, see Grouping resources in an AppComponent .
Type: String
resourceNames
The list of included resources that are assigned to the AppComponent.
Type: Array of strings
additionalInfo
Additional configuration parameters for an AWS Resilience Hub application. If you want to implement
additionalInfothrough the AWS Resilience Hub console rather than using an API call, see Configure the application configuration parameters .Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key:
"failover-regions"Value:
"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"excludedResources
The list of logical resource identifiers to be excluded from the application.
Type: Array
Don't add the resources that you want to include.
Each
excludedResourcesarray item includes the following fields:logicalResourceIds
The logical identifier of the resource.
Type: Object
You can configure only one of the following fields:
logicalStackNameresourceGroupNameterraformSourceNameeksSourceName
Each
logicalResourceIdsobject includes the following fields:identifier
The identifier of the resource.
Type: String
logicalStackName
Name of the AWS CloudFormation stack this resource belongs to.
Type: String
resourceGroupName
Name of the resource group this resource belongs to.
Type: String
terraformSourceName
Name of the Terraform S3 state file this resource belongs to.
Type: String
eksSourceName
Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.
This parameter accepts values in "eks-cluster/namespace" format.
Type: String
version
The AWS Resilience Hub application version.
additionalInfo
Additional configuration parameters for an AWS Resilience Hub application. If you want to implement
additionalInfothrough the AWS Resilience Hub console rather than using an API call, see Configure the application configuration parameters .Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key:
"failover-regions"Value:
"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"- Specified by:
getAppTemplateBodyin interfaceCfnAppProps- See Also:
-
getName
Description copied from interface:CfnAppPropsName for the application.- Specified by:
getNamein interfaceCfnAppProps- See Also:
-
getResourceMappings
Description copied from interface:CfnAppPropsAn array ofResourceMappingobjects.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApp.ResourceMappingProperty>- Specified by:
getResourceMappingsin interfaceCfnAppProps- See Also:
-
getAppAssessmentSchedule
Description copied from interface:CfnAppPropsAssessment execution schedule with 'Daily' or 'Disabled' values.- Specified by:
getAppAssessmentSchedulein interfaceCfnAppProps- See Also:
-
getDescription
Description copied from interface:CfnAppPropsOptional description for an application.- Specified by:
getDescriptionin interfaceCfnAppProps- See Also:
-
getEventSubscriptions
Description copied from interface:CfnAppPropsThe list of events you would like to subscribe and get notification for.Currently, AWS Resilience Hub supports notifications only for Drift detected and Scheduled assessment failure events.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApp.EventSubscriptionProperty>- Specified by:
getEventSubscriptionsin interfaceCfnAppProps- See Also:
-
getPermissionModel
Description copied from interface:CfnAppPropsDefines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.Returns union: either
IResolvableorCfnApp.PermissionModelProperty- Specified by:
getPermissionModelin interfaceCfnAppProps- See Also:
-
getResiliencyPolicyArn
Description copied from interface:CfnAppPropsThe Amazon Resource Name (ARN) of the resiliency policy.- Specified by:
getResiliencyPolicyArnin interfaceCfnAppProps- See Also:
-
getTags
Description copied from interface:CfnAppPropsTags assigned to the resource.A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
- Specified by:
getTagsin interfaceCfnAppProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-