Interface CfnConformancePackProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnConformancePackProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:48.566Z") @Stability(Stable) public interface CfnConformancePackProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnConformancePack.

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();
 
  • Method Details

    • getConformancePackName

      @Stability(Stable) @NotNull String getConformancePackName()
      Name of the conformance pack you want to create.
    • getConformancePackInputParameters

      @Stability(Stable) @Nullable default Object getConformancePackInputParameters()
      A list of ConformancePackInputParameter objects.
    • getDeliveryS3Bucket

      @Stability(Stable) @Nullable default String getDeliveryS3Bucket()
      The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.
    • getDeliveryS3KeyPrefix

      @Stability(Stable) @Nullable default String getDeliveryS3KeyPrefix()
      The prefix for the Amazon S3 bucket.
    • getTemplateBody

      @Stability(Stable) @Nullable default String getTemplateBody()
      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.

      You can only use a YAML template with two resource types: config rule ( AWS::Config::ConfigRule ) and a remediation action ( AWS::Config::RemediationConfiguration ).

    • getTemplateS3Uri

      @Stability(Stable) @Nullable default String getTemplateS3Uri()
      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.

      You must have access to read Amazon S3 bucket.

    • getTemplateSsmDocumentDetails

      @Stability(Stable) @Nullable default Object getTemplateSsmDocumentDetails()
      AWS::Config::ConformancePack.TemplateSSMDocumentDetails.
    • builder

      @Stability(Stable) static CfnConformancePackProps.Builder builder()
      Returns:
      a CfnConformancePackProps.Builder of CfnConformancePackProps