Class: AWSCDK::CodePipelineActions::OrganizationsDeploymentProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
code_pipeline_actions/organizations_deployment_props.rb

Overview

Properties for configuring service-managed (Organizations) permissions.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(auto_deployment: nil) ⇒ OrganizationsDeploymentProps

Returns a new instance of OrganizationsDeploymentProps.

Parameters:



8
9
10
11
# File 'code_pipeline_actions/organizations_deployment_props.rb', line 8

def initialize(auto_deployment: nil)
  @auto_deployment = auto_deployment
  Jsii::Type.check_type(@auto_deployment, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZXBpcGVsaW5lX2FjdGlvbnMuU3RhY2tTZXRPcmdhbml6YXRpb25zQXV0b0RlcGxveW1lbnQifQ==")), "autoDeployment") unless @auto_deployment.nil?
end

Instance Attribute Details

#auto_deploymentAWSCDK::CodePipelineActions::StackSetOrganizationsAutoDeployment? (readonly)

Note:

Default: Disabled

Automatically deploy to new accounts added to Organizational Units.

Whether AWS CloudFormation StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU).



21
22
23
# File 'code_pipeline_actions/organizations_deployment_props.rb', line 21

def auto_deployment
  @auto_deployment
end

Class Method Details

.jsii_propertiesObject



23
24
25
26
27
# File 'code_pipeline_actions/organizations_deployment_props.rb', line 23

def self.jsii_properties
  {
    :auto_deployment => "autoDeployment",
  }
end

Instance Method Details

#to_jsiiObject



29
30
31
32
33
34
35
# File 'code_pipeline_actions/organizations_deployment_props.rb', line 29

def to_jsii
  result = {}
  result.merge!({
    "autoDeployment" => @auto_deployment,
  })
  result.compact
end