@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.726Z") @Stability(value=Stable) public interface CfnConformancePackProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.config.*;
Object templateSsmDocumentDetails;
CfnConformancePackProps cfnConformancePackProps = CfnConformancePackProps.builder()
.conformancePackName("conformancePackName")
// the properties below are optional
.conformancePackInputParameters(List.of(ConformancePackInputParameterProperty.builder()
.parameterName("parameterName")
.parameterValue("parameterValue")
.build()))
.deliveryS3Bucket("deliveryS3Bucket")
.deliveryS3KeyPrefix("deliveryS3KeyPrefix")
.templateBody("templateBody")
.templateS3Uri("templateS3Uri")
.templateSsmDocumentDetails(templateSsmDocumentDetails)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnConformancePackProps.Builder
A builder for
CfnConformancePackProps |
static class |
CfnConformancePackProps.Jsii$Proxy
An implementation for
CfnConformancePackProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnConformancePackProps.Builder |
builder() |
default Object |
getConformancePackInputParameters()
A list of ConformancePackInputParameter objects.
|
String |
getConformancePackName()
Name of the conformance pack you want to create.
|
default String |
getDeliveryS3Bucket()
The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.
|
default String |
getDeliveryS3KeyPrefix()
The prefix for the Amazon S3 bucket.
|
default String |
getTemplateBody()
A string containing full conformance pack template body.
|
default String |
getTemplateS3Uri()
Location of file containing the template body (s3://bucketname/prefix).
|
default Object |
getTemplateSsmDocumentDetails()
`AWS::Config::ConformancePack.TemplateSSMDocumentDetails`.
|
@Stability(value=Stable) @NotNull String getConformancePackName()
@Stability(value=Stable) @Nullable default Object getConformancePackInputParameters()
@Stability(value=Stable) @Nullable default String getDeliveryS3Bucket()
@Stability(value=Stable) @Nullable default String getDeliveryS3KeyPrefix()
@Stability(value=Stable) @Nullable default String getTemplateBody()
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).
@Stability(value=Stable) @Nullable default String getTemplateS3Uri()
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.
@Stability(value=Stable) @Nullable default Object getTemplateSsmDocumentDetails()
@Stability(value=Stable) static CfnConformancePackProps.Builder builder()
CfnConformancePackProps.Builder of CfnConformancePackPropsCopyright © 2022. All rights reserved.