Class: AWSCDK::Config::CfnOrganizationConformancePackProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Config::CfnOrganizationConformancePackProps
- Defined in:
- config/cfn_organization_conformance_pack_props.rb
Overview
Properties for defining a CfnOrganizationConformancePack.
Instance Attribute Summary collapse
-
#conformance_pack_input_parameters ⇒ AWSCDK::IResolvable, ...
readonly
A list of
ConformancePackInputParameterobjects. -
#delivery_s3_bucket ⇒ String?
readonly
The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.
-
#delivery_s3_key_prefix ⇒ String?
readonly
Any folder structure you want to add to an Amazon S3 bucket.
-
#excluded_accounts ⇒ Array<String>?
readonly
A comma-separated list of accounts excluded from organization conformance pack.
-
#organization_conformance_pack_name ⇒ String
readonly
The name you assign to an organization conformance pack.
-
#template_body ⇒ String?
readonly
A string containing full conformance pack template body.
-
#template_s3_uri ⇒ String?
readonly
Location of file containing the template body.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(organization_conformance_pack_name:, conformance_pack_input_parameters: nil, delivery_s3_bucket: nil, delivery_s3_key_prefix: nil, excluded_accounts: nil, template_body: nil, template_s3_uri: nil) ⇒ CfnOrganizationConformancePackProps
constructor
A new instance of CfnOrganizationConformancePackProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(organization_conformance_pack_name:, conformance_pack_input_parameters: nil, delivery_s3_bucket: nil, delivery_s3_key_prefix: nil, excluded_accounts: nil, template_body: nil, template_s3_uri: nil) ⇒ CfnOrganizationConformancePackProps
Returns a new instance of CfnOrganizationConformancePackProps.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'config/cfn_organization_conformance_pack_props.rb', line 16 def initialize(organization_conformance_pack_name:, conformance_pack_input_parameters: nil, delivery_s3_bucket: nil, delivery_s3_key_prefix: nil, excluded_accounts: nil, template_body: nil, template_s3_uri: nil) @organization_conformance_pack_name = organization_conformance_pack_name Jsii::Type.check_type(@organization_conformance_pack_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "organizationConformancePackName") @conformance_pack_input_parameters = conformance_pack_input_parameters Jsii::Type.check_type(@conformance_pack_input_parameters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29uZmlnLkNmbk9yZ2FuaXphdGlvbkNvbmZvcm1hbmNlUGFjay5Db25mb3JtYW5jZVBhY2tJbnB1dFBhcmFtZXRlclByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "conformancePackInputParameters") unless @conformance_pack_input_parameters.nil? @delivery_s3_bucket = delivery_s3_bucket Jsii::Type.check_type(@delivery_s3_bucket, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deliveryS3Bucket") unless @delivery_s3_bucket.nil? @delivery_s3_key_prefix = delivery_s3_key_prefix Jsii::Type.check_type(@delivery_s3_key_prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deliveryS3KeyPrefix") unless @delivery_s3_key_prefix.nil? @excluded_accounts = excluded_accounts Jsii::Type.check_type(@excluded_accounts, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "excludedAccounts") unless @excluded_accounts.nil? @template_body = template_body Jsii::Type.check_type(@template_body, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "templateBody") unless @template_body.nil? @template_s3_uri = template_s3_uri Jsii::Type.check_type(@template_s3_uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "templateS3Uri") unless @template_s3_uri.nil? end |
Instance Attribute Details
#conformance_pack_input_parameters ⇒ AWSCDK::IResolvable, ... (readonly)
A list of ConformancePackInputParameter objects.
42 43 44 |
# File 'config/cfn_organization_conformance_pack_props.rb', line 42 def conformance_pack_input_parameters @conformance_pack_input_parameters end |
#delivery_s3_bucket ⇒ String? (readonly)
The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.
This field is optional.
49 50 51 |
# File 'config/cfn_organization_conformance_pack_props.rb', line 49 def delivery_s3_bucket @delivery_s3_bucket end |
#delivery_s3_key_prefix ⇒ String? (readonly)
Any folder structure you want to add to an Amazon S3 bucket.
This field is optional.
56 57 58 |
# File 'config/cfn_organization_conformance_pack_props.rb', line 56 def delivery_s3_key_prefix @delivery_s3_key_prefix end |
#excluded_accounts ⇒ Array<String>? (readonly)
A comma-separated list of accounts excluded from organization conformance pack.
61 62 63 |
# File 'config/cfn_organization_conformance_pack_props.rb', line 61 def excluded_accounts @excluded_accounts end |
#organization_conformance_pack_name ⇒ String (readonly)
The name you assign to an organization conformance pack.
37 38 39 |
# File 'config/cfn_organization_conformance_pack_props.rb', line 37 def organization_conformance_pack_name @organization_conformance_pack_name end |
#template_body ⇒ String? (readonly)
A string containing full conformance pack template body.
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
68 69 70 |
# File 'config/cfn_organization_conformance_pack_props.rb', line 68 def template_body @template_body end |
#template_s3_uri ⇒ String? (readonly)
Location of file containing the template body.
The uri must point to the conformance pack template (max size: 300 KB).
75 76 77 |
# File 'config/cfn_organization_conformance_pack_props.rb', line 75 def template_s3_uri @template_s3_uri end |
Class Method Details
.jsii_properties ⇒ Object
77 78 79 80 81 82 83 84 85 86 87 |
# File 'config/cfn_organization_conformance_pack_props.rb', line 77 def self.jsii_properties { :organization_conformance_pack_name => "organizationConformancePackName", :conformance_pack_input_parameters => "conformancePackInputParameters", :delivery_s3_bucket => "deliveryS3Bucket", :delivery_s3_key_prefix => "deliveryS3KeyPrefix", :excluded_accounts => "excludedAccounts", :template_body => "templateBody", :template_s3_uri => "templateS3Uri", } end |
Instance Method Details
#to_jsii ⇒ Object
89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'config/cfn_organization_conformance_pack_props.rb', line 89 def to_jsii result = {} result.merge!({ "organizationConformancePackName" => @organization_conformance_pack_name, "conformancePackInputParameters" => @conformance_pack_input_parameters, "deliveryS3Bucket" => @delivery_s3_bucket, "deliveryS3KeyPrefix" => @delivery_s3_key_prefix, "excludedAccounts" => @excluded_accounts, "templateBody" => @template_body, "templateS3Uri" => @template_s3_uri, }) result.compact end |