Class CfnConformancePackProps
Properties for defining a CfnConformancePack
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Config
Assembly: Amazon.CDK.AWS.Config.dll
Syntax (csharp)
public class CfnConformancePackProps : Object, ICfnConformancePackProps
Syntax (vb)
Public Class CfnConformancePackProps
Inherits Object
Implements 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
Constructors
CfnConformancePackProps() |
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 |
|
Constructors
CfnConformancePackProps()
public CfnConformancePackProps()
Properties
ConformancePackInputParameters
A list of ConformancePackInputParameter objects.
public object ConformancePackInputParameters { get; set; }
Property Value
System.Object
Remarks
ConformancePackName
Name of the conformance pack you want to create.
public string ConformancePackName { get; set; }
Property Value
System.String
Remarks
DeliveryS3Bucket
The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.
public string DeliveryS3Bucket { get; set; }
Property Value
System.String
Remarks
DeliveryS3KeyPrefix
The prefix for the Amazon S3 bucket.
public string DeliveryS3KeyPrefix { get; set; }
Property Value
System.String
Remarks
TemplateBody
A string containing full conformance pack template body.
public string TemplateBody { get; set; }
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).
public string TemplateS3Uri { get; set; }
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
.
public object TemplateSsmDocumentDetails { get; set; }
Property Value
System.Object