Interface ICfnConformancePackProps
Properties for defining a CfnConformancePack
.
Namespace: Amazon.CDK.AWS.Config
Assembly: Amazon.CDK.AWS.Config.dll
Syntax (csharp)
public interface ICfnConformancePackProps
Syntax (vb)
Public Interface ICfnConformancePackProps
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.AWS.Config;
var templateSsmDocumentDetails;
var cfnConformancePackProps = new CfnConformancePackProps {
ConformancePackName = "conformancePackName",
// the properties below are optional
ConformancePackInputParameters = new [] { new ConformancePackInputParameterProperty {
ParameterName = "parameterName",
ParameterValue = "parameterValue"
} },
DeliveryS3Bucket = "deliveryS3Bucket",
DeliveryS3KeyPrefix = "deliveryS3KeyPrefix",
TemplateBody = "templateBody",
TemplateS3Uri = "templateS3Uri",
TemplateSsmDocumentDetails = templateSsmDocumentDetails
};
Synopsis
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 |
|
Properties
ConformancePackInputParameters
A list of ConformancePackInputParameter objects.
virtual object ConformancePackInputParameters { get; }
Property Value
System.Object
Remarks
ConformancePackName
Name of the conformance pack you want to create.
string ConformancePackName { get; }
Property Value
System.String
Remarks
DeliveryS3Bucket
The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.
virtual string DeliveryS3Bucket { get; }
Property Value
System.String
Remarks
DeliveryS3KeyPrefix
The prefix for the Amazon S3 bucket.
virtual string DeliveryS3KeyPrefix { get; }
Property Value
System.String
Remarks
TemplateBody
A string containing full conformance pack template body.
virtual string TemplateBody { get; }
Property Value
System.String
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 ( AWS::Config::ConfigRule
) and a remediation action ( AWS::Config::RemediationConfiguration
).
TemplateS3Uri
Location of file containing the template body (s3://bucketname/prefix).
virtual string TemplateS3Uri { get; }
Property Value
System.String
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
AWS::Config::ConformancePack.TemplateSSMDocumentDetails
.
virtual object TemplateSsmDocumentDetails { get; }
Property Value
System.Object