CfnConformancePackProps
- class aws_cdk.aws_config.CfnConformancePackProps(*, conformance_pack_name, conformance_pack_input_parameters=None, delivery_s3_bucket=None, delivery_s3_key_prefix=None, template_body=None, template_s3_uri=None, template_ssm_document_details=None)
Bases:
object
Properties for defining a
CfnConformancePack
.- Parameters:
conformance_pack_name (
str
) – Name of the conformance pack you want to create.conformance_pack_input_parameters (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,ConformancePackInputParameterProperty
,Dict
[str
,Any
]]],None
]) – A list of ConformancePackInputParameter objects.delivery_s3_bucket (
Optional
[str
]) – The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.delivery_s3_key_prefix (
Optional
[str
]) – The prefix for the Amazon S3 bucket.template_body (
Optional
[str
]) – 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. .. epigraph:: You can only use a YAML template with two resource types: config rule (AWS::Config::ConfigRule
) and a remediation action (AWS::Config::RemediationConfiguration
).template_s3_uri (
Optional
[str
]) – 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. .. epigraph:: You must have access to read Amazon S3 bucket.template_ssm_document_details (
Optional
[Any
]) –AWS::Config::ConformancePack.TemplateSSMDocumentDetails
.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_config as config # template_ssm_document_details: Any cfn_conformance_pack_props = config.CfnConformancePackProps( conformance_pack_name="conformancePackName", # the properties below are optional conformance_pack_input_parameters=[config.CfnConformancePack.ConformancePackInputParameterProperty( parameter_name="parameterName", parameter_value="parameterValue" )], delivery_s3_bucket="deliveryS3Bucket", delivery_s3_key_prefix="deliveryS3KeyPrefix", template_body="templateBody", template_s3_uri="templateS3Uri", template_ssm_document_details=template_ssm_document_details )
Attributes
- conformance_pack_input_parameters
A list of ConformancePackInputParameter objects.
- conformance_pack_name
Name of the conformance pack you want to create.
- delivery_s3_bucket
The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.
- delivery_s3_key_prefix
The prefix for the Amazon S3 bucket.
- template_body
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. .. epigraph:
You can only use a YAML template with two resource types: config rule ( ``AWS::Config::ConfigRule`` ) and a remediation action ( ``AWS::Config::RemediationConfiguration`` ).
- template_s3_uri
//bucketname/prefix).
The uri must point to the conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket. .. epigraph:
You must have access to read Amazon S3 bucket.
- Link:
- Type:
Location of file containing the template body (s3
- template_ssm_document_details
AWS::Config::ConformancePack.TemplateSSMDocumentDetails
.