Class SelfManagedDeploymentProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class SelfManagedDeploymentProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SelfManagedDeploymentProps
An implementation for SelfManagedDeploymentProps
  • 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(SelfManagedDeploymentProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the SelfManagedDeploymentProps.Builder.
  • Method Details

    • getAdministrationRole

      public final IRole getAdministrationRole()
      Description copied from interface: SelfManagedDeploymentProps
      The IAM role in the administrator account used to assume execution roles in the target accounts.

      You must create this role before using the StackSet action.

      The role needs to be assumable by CloudFormation, and it needs to be able to sts:AssumeRole each of the execution roles (whose names are specified in the executionRoleName parameter) in each of the target accounts.

      If you do not specify the role, we assume you have created a role named AWSCloudFormationStackSetAdministrationRole.

      Default: - Assume an existing role named `AWSCloudFormationStackSetAdministrationRole` in the same account as the pipeline.

      Specified by:
      getAdministrationRole in interface SelfManagedDeploymentProps
      See Also:
    • getExecutionRoleName

      public final String getExecutionRoleName()
      Description copied from interface: SelfManagedDeploymentProps
      The name of the IAM role in the target accounts used to perform stack set operations.

      You must create these roles in each of the target accounts before using the StackSet action.

      The roles need to be assumable by by the administrationRole, and need to have the permissions necessary to successfully create and modify the resources that the subsequent CloudFormation deployments need. Administrator permissions would be commonly granted to these, but if you can scope the permissions down frome there you would be safer.

      Default: AWSCloudFormationStackSetExecutionRole

      Specified by:
      getExecutionRoleName in interface SelfManagedDeploymentProps
      See Also:
    • $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