Class CfnAppProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.resiliencehub.CfnAppProps.Jsii$Proxy
All Implemented Interfaces:
CfnAppProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnAppProps

@Stability(Stable) @Internal public static final class CfnAppProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAppProps
An implementation for CfnAppProps
  • 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

      protected Jsii$Proxy(CfnAppProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnAppProps.Builder.
  • Method Details

    • getAppTemplateBody

      public final String getAppTemplateBody()
      Description copied from interface: CfnAppProps
      A JSON string that provides information about your application structure.

      To learn more about the appTemplateBody template, see the sample template provided in the Examples section.

      The appTemplateBody JSON 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 resources array item includes the following fields:

      • logicalResourceId

      The logical identifier of the resource.

      Type: Object

      Each logicalResourceId object includes the following fields:

      • identifier

      The identifier of the resource.

      Type: String

      • logicalStackName

      The name of the AWS CloudFormation stack this resource belongs to.

      Type: String

      • resourceGroupName

      The name of the resource group this resource belongs to.

      Type: String

      • terraformSourceName

      The name of the Terraform S3 state file this resource belongs to.

      Type: String

      • eksSourceName

      The 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

      The name of the resource.

      Type: String

      • additionalInfo

      Additional configuration parameters for an AWS Resilience Hub application. If you want to implement additionalInfo through 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 appComponents array item includes the following fields:

      • name

      The 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 additionalInfo through 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 excludedResources array item includes the following fields:

      • logicalResourceIds

      The logical identifier of the resource.

      Type: Object

      You can configure only one of the following fields:

      • logicalStackName
      • resourceGroupName
      • terraformSourceName
      • eksSourceName

      Each logicalResourceIds object includes the following fields:

      • identifier

      The identifier of the resource.

      Type: String

      • logicalStackName

      The name of the AWS CloudFormation stack this resource belongs to.

      Type: String

      • resourceGroupName

      The name of the resource group this resource belongs to.

      Type: String

      • terraformSourceName

      The name of the Terraform S3 state file this resource belongs to.

      Type: String

      • eksSourceName

      The 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 additionalInfo through 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:
      getAppTemplateBody in interface CfnAppProps
    • getName

      public final String getName()
      Description copied from interface: CfnAppProps
      The name for the application.
      Specified by:
      getName in interface CfnAppProps
    • getResourceMappings

      public final Object getResourceMappings()
      Description copied from interface: CfnAppProps
      An array of ResourceMapping objects.
      Specified by:
      getResourceMappings in interface CfnAppProps
    • getAppAssessmentSchedule

      public final String getAppAssessmentSchedule()
      Description copied from interface: CfnAppProps
      Assessment execution schedule with 'Daily' or 'Disabled' values.
      Specified by:
      getAppAssessmentSchedule in interface CfnAppProps
    • getDescription

      public final String getDescription()
      Description copied from interface: CfnAppProps
      The optional description for an app.
      Specified by:
      getDescription in interface CfnAppProps
    • getResiliencyPolicyArn

      public final String getResiliencyPolicyArn()
      Description copied from interface: CfnAppProps
      The Amazon Resource Name (ARN) of the resiliency policy.
      Specified by:
      getResiliencyPolicyArn in interface CfnAppProps
    • getTags

      public final Map<String,String> getTags()
      Description copied from interface: CfnAppProps
      The tags 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:
      getTags in interface CfnAppProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object