Class CfnApp.PermissionModelProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.resiliencehub.CfnApp.PermissionModelProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnApp.PermissionModelProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnApp.PermissionModelProperty
@Stability(Stable)
@Internal
public static final class CfnApp.PermissionModelProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnApp.PermissionModelProperty
An implementation for
CfnApp.PermissionModelProperty-
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.CfnApp.PermissionModelProperty
CfnApp.PermissionModelProperty.Builder, CfnApp.PermissionModelProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnApp.PermissionModelProperty.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 booleanDefines a list of role Amazon Resource Names (ARNs) to be used in other accounts.final StringExisting AWS IAM role name in the primary AWS account that will be assumed by AWS Resilience Hub Service Principle to obtain a read-only access to your application resources while running an assessment.final StringgetType()Defines how AWS Resilience Hub scans your resources.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 theCfnApp.PermissionModelProperty.Builder.
-
-
Method Details
-
getType
Description copied from interface:CfnApp.PermissionModelPropertyDefines how AWS Resilience Hub scans your resources.It can scan for the resources by using a pre-existing role in your AWS account, or by using the credentials of the current IAM user.
- Specified by:
getTypein interfaceCfnApp.PermissionModelProperty- See Also:
-
getCrossAccountRoleArns
Description copied from interface:CfnApp.PermissionModelPropertyDefines a list of role Amazon Resource Names (ARNs) to be used in other accounts.These ARNs are used for querying purposes while importing resources and assessing your application.
- These ARNs are required only when your resources are in other accounts and you have different role name in these accounts. Else, the invoker role name will be used in the other accounts.
- These roles must have a trust policy with
iam:AssumeRolepermission to the invoker role in the primary account.
- Specified by:
getCrossAccountRoleArnsin interfaceCfnApp.PermissionModelProperty- See Also:
-
getInvokerRoleName
Description copied from interface:CfnApp.PermissionModelPropertyExisting AWS IAM role name in the primary AWS account that will be assumed by AWS Resilience Hub Service Principle to obtain a read-only access to your application resources while running an assessment.If your IAM role includes a path, you must include the path in the
invokerRoleNameparameter. For example, if your IAM role's ARN isarn:aws:iam:123456789012:role/my-path/role-name, you should passmy-path/role-name.- You must have
iam:passRolepermission for this role while creating or updating the application. - Currently,
invokerRoleNameaccepts only[A-Za-z0-9_+=,.@-]characters.
- Specified by:
getInvokerRoleNamein interfaceCfnApp.PermissionModelProperty- See Also:
- You must have
-
$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()
-