Class: Aws::ConfigService::Types::PutConformancePackRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-configservice/types.rb

Overview

Note:

When making an API call, you may pass PutConformancePackRequest data as a hash:

{
  conformance_pack_name: "ConformancePackName", # required
  template_s3_uri: "TemplateS3Uri",
  template_body: "TemplateBody",
  delivery_s3_bucket: "DeliveryS3Bucket",
  delivery_s3_key_prefix: "DeliveryS3KeyPrefix",
  conformance_pack_input_parameters: [
    {
      parameter_name: "ParameterName", # required
      parameter_value: "ParameterValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#conformance_pack_input_parametersArray<Types::ConformancePackInputParameter>

A list of ‘ConformancePackInputParameter` objects.



6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
# File 'lib/aws-sdk-configservice/types.rb', line 6586

class PutConformancePackRequest < Struct.new(
  :conformance_pack_name,
  :template_s3_uri,
  :template_body,
  :delivery_s3_bucket,
  :delivery_s3_key_prefix,
  :conformance_pack_input_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#conformance_pack_nameString

Name of the conformance pack you want to create.

Returns:

  • (String)


6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
# File 'lib/aws-sdk-configservice/types.rb', line 6586

class PutConformancePackRequest < Struct.new(
  :conformance_pack_name,
  :template_s3_uri,
  :template_body,
  :delivery_s3_bucket,
  :delivery_s3_key_prefix,
  :conformance_pack_input_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#delivery_s3_bucketString

Amazon S3 bucket where AWS Config stores conformance pack templates.

<note markdown=“1”> This field is optional.

</note>

Returns:

  • (String)


6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
# File 'lib/aws-sdk-configservice/types.rb', line 6586

class PutConformancePackRequest < Struct.new(
  :conformance_pack_name,
  :template_s3_uri,
  :template_body,
  :delivery_s3_bucket,
  :delivery_s3_key_prefix,
  :conformance_pack_input_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#delivery_s3_key_prefixString

The prefix for the Amazon S3 bucket.

<note markdown=“1”> This field is optional.

</note>

Returns:

  • (String)


6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
# File 'lib/aws-sdk-configservice/types.rb', line 6586

class PutConformancePackRequest < Struct.new(
  :conformance_pack_name,
  :template_s3_uri,
  :template_body,
  :delivery_s3_bucket,
  :delivery_s3_key_prefix,
  :conformance_pack_input_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#template_bodyString

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.

<note markdown=“1”> You can only use a YAML template with one resource type, that is, config rule and a remediation action.

</note>

Returns:

  • (String)


6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
# File 'lib/aws-sdk-configservice/types.rb', line 6586

class PutConformancePackRequest < Struct.new(
  :conformance_pack_name,
  :template_s3_uri,
  :template_body,
  :delivery_s3_bucket,
  :delivery_s3_key_prefix,
  :conformance_pack_input_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#template_s3_uriString

Location of file containing the template body (‘s3://bucketname/prefix`). The uri must point to the conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same region as the conformance pack.

<note markdown=“1”> You must have access to read Amazon S3 bucket.

</note>

Returns:

  • (String)


6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
# File 'lib/aws-sdk-configservice/types.rb', line 6586

class PutConformancePackRequest < Struct.new(
  :conformance_pack_name,
  :template_s3_uri,
  :template_body,
  :delivery_s3_bucket,
  :delivery_s3_key_prefix,
  :conformance_pack_input_parameters)
  SENSITIVE = []
  include Aws::Structure
end