Class CfnConformancePackMixinProps
Properties for CfnConformancePackPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Config.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnConformancePackMixinProps : ICfnConformancePackMixinProps
Syntax (vb)
Public Class CfnConformancePackMixinProps Implements ICfnConformancePackMixinProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Config.Mixins;
var templateSsmDocumentDetails;
var cfnConformancePackMixinProps = new CfnConformancePackMixinProps {
ConformancePackInputParameters = new [] { new ConformancePackInputParameterProperty {
ParameterName = "parameterName",
ParameterValue = "parameterValue"
} },
ConformancePackName = "conformancePackName",
DeliveryS3Bucket = "deliveryS3Bucket",
DeliveryS3KeyPrefix = "deliveryS3KeyPrefix",
TemplateBody = "templateBody",
TemplateS3Uri = "templateS3Uri",
TemplateSsmDocumentDetails = templateSsmDocumentDetails
};
Synopsis
Constructors
| CfnConformancePackMixinProps() | Properties for CfnConformancePackPropsMixin. |
Properties
| ConformancePackInputParameters | A list of ConformancePackInputParameter objects. |
| ConformancePackName | Name of the conformance pack you want to create. |
| DeliveryS3Bucket | The name of the Amazon S3 bucket where AWS Config stores conformance pack templates. |
| DeliveryS3KeyPrefix | The prefix for the Amazon S3 bucket. |
| TemplateBody | A string containing full conformance pack template body. |
| TemplateS3Uri | Location of file containing the template body (s3://bucketname/prefix). |
| TemplateSsmDocumentDetails | An object that contains the name or Amazon Resource Name (ARN) of the AWS Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack. |
Constructors
CfnConformancePackMixinProps()
Properties for CfnConformancePackPropsMixin.
public CfnConformancePackMixinProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Config.Mixins;
var templateSsmDocumentDetails;
var cfnConformancePackMixinProps = new CfnConformancePackMixinProps {
ConformancePackInputParameters = new [] { new ConformancePackInputParameterProperty {
ParameterName = "parameterName",
ParameterValue = "parameterValue"
} },
ConformancePackName = "conformancePackName",
DeliveryS3Bucket = "deliveryS3Bucket",
DeliveryS3KeyPrefix = "deliveryS3KeyPrefix",
TemplateBody = "templateBody",
TemplateS3Uri = "templateS3Uri",
TemplateSsmDocumentDetails = templateSsmDocumentDetails
};
Properties
ConformancePackInputParameters
A list of ConformancePackInputParameter objects.
public object? ConformancePackInputParameters { get; set; }
Property Value
Remarks
ConformancePackName
Name of the conformance pack you want to create.
public string? ConformancePackName { get; set; }
Property Value
Remarks
DeliveryS3Bucket
The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.
public string? DeliveryS3Bucket { get; set; }
Property Value
Remarks
DeliveryS3KeyPrefix
The prefix for the Amazon S3 bucket.
public string? DeliveryS3KeyPrefix { get; set; }
Property Value
Remarks
TemplateBody
A string containing full conformance pack template body.
public string? TemplateBody { get; set; }
Property Value
Remarks
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can only use a YAML template with two resource types: config rule ( <code>AWS::Config::ConfigRule</code> ) and a remediation action ( <code>AWS::Config::RemediationConfiguration</code> ).
TemplateS3Uri
Location of file containing the template body (s3://bucketname/prefix).
public string? TemplateS3Uri { get; set; }
Property Value
Remarks
The uri must point to the conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket.
You must have access to read Amazon S3 bucket.
TemplateSsmDocumentDetails
An object that contains the name or Amazon Resource Name (ARN) of the AWS Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.
public object? TemplateSsmDocumentDetails { get; set; }