Skip to content
v2.278.0

CfnOrganizationConformancePackProps Struct ​

Properties for defining a CfnOrganizationConformancePack.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_config as config } from 'aws-cdk-lib';
const cfnOrganizationConformancePackProps: config.CfnOrganizationConformancePackProps = {
  organizationConformancePackName: 'organizationConformancePackName',

  // the properties below are optional
  conformancePackInputParameters: [{
    parameterName: 'parameterName',
    parameterValue: 'parameterValue',
  }],
  deliveryS3Bucket: 'deliveryS3Bucket',
  deliveryS3KeyPrefix: 'deliveryS3KeyPrefix',
  excludedAccounts: ['excludedAccounts'],
  tags: [{
    key: 'key',
    value: 'value',
  }],
  templateBody: 'templateBody',
  templateS3Uri: 'templateS3Uri',
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_config as config

cfn_organization_conformance_pack_props = config.CfnOrganizationConformancePackProps(
    organization_conformance_pack_name="organizationConformancePackName",

    # the properties below are optional
    conformance_pack_input_parameters=[config.CfnOrganizationConformancePack.ConformancePackInputParameterProperty(
        parameter_name="parameterName",
        parameter_value="parameterValue"
    )],
    delivery_s3_bucket="deliveryS3Bucket",
    delivery_s3_key_prefix="deliveryS3KeyPrefix",
    excluded_accounts=["excludedAccounts"],
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    template_body="templateBody",
    template_s3_uri="templateS3Uri"
)
java
// 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.*;

CfnOrganizationConformancePackProps cfnOrganizationConformancePackProps = CfnOrganizationConformancePackProps.builder()
        .organizationConformancePackName("organizationConformancePackName")

        // the properties below are optional
        .conformancePackInputParameters(List.of(ConformancePackInputParameterProperty.builder()
                .parameterName("parameterName")
                .parameterValue("parameterValue")
                .build()))
        .deliveryS3Bucket("deliveryS3Bucket")
        .deliveryS3KeyPrefix("deliveryS3KeyPrefix")
        .excludedAccounts(List.of("excludedAccounts"))
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .templateBody("templateBody")
        .templateS3Uri("templateS3Uri")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 cfnOrganizationConformancePackProps = new CfnOrganizationConformancePackProps {
    OrganizationConformancePackName = "organizationConformancePackName",

    // the properties below are optional
    ConformancePackInputParameters = new [] { new ConformancePackInputParameterProperty {
        ParameterName = "parameterName",
        ParameterValue = "parameterValue"
    } },
    DeliveryS3Bucket = "deliveryS3Bucket",
    DeliveryS3KeyPrefix = "deliveryS3KeyPrefix",
    ExcludedAccounts = new [] { "excludedAccounts" },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    TemplateBody = "templateBody",
    TemplateS3Uri = "templateS3Uri"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnOrganizationConformancePackProps := &CfnOrganizationConformancePackProps{
	OrganizationConformancePackName: jsii.String("organizationConformancePackName"),

	// the properties below are optional
	ConformancePackInputParameters: []interface{}{
		&ConformancePackInputParameterProperty{
			ParameterName: jsii.String("parameterName"),
			ParameterValue: jsii.String("parameterValue"),
		},
	},
	DeliveryS3Bucket: jsii.String("deliveryS3Bucket"),
	DeliveryS3KeyPrefix: jsii.String("deliveryS3KeyPrefix"),
	ExcludedAccounts: []*string{
		jsii.String("excludedAccounts"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	TemplateBody: jsii.String("templateBody"),
	TemplateS3Uri: jsii.String("templateS3Uri"),
}

Properties ​

conformancePackInputParametersoptionalIResolvable | IResolvable | CfnOrganizationConformancePack.ConformancePackInputParameterProperty[]conformance_pack_input_parametersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ConformancePackInputParameterProperty]]]conformancePackInputParametersoptionalIResolvableConformancePackInputParametersoptionalIResolvableConformancePackInputParametersoptionalinterface{} #
A list of `ConformancePackInputParameter` objects.
deliveryS3Bucketoptionalstringdelivery_s3_bucketoptionalstrdeliveryS3BucketoptionalStringDeliveryS3BucketoptionalstringDeliveryS3Bucketoptional*string #
The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.

This field is optional.

deliveryS3KeyPrefixoptionalstringdelivery_s3_key_prefixoptionalstrdeliveryS3KeyPrefixoptionalStringDeliveryS3KeyPrefixoptionalstringDeliveryS3KeyPrefixoptional*string #
Any folder structure you want to add to an Amazon S3 bucket.

This field is optional.

excludedAccountsoptionalstring[]excluded_accountsoptionaltyping.List[str]excludedAccountsoptionalList<String>ExcludedAccountsoptionalstring[]ExcludedAccountsoptional*[]*string #
A comma-separated list of accounts excluded from organization conformance pack.
organizationConformancePackNamestringorganization_conformance_pack_namestrorganizationConformancePackNameStringOrganizationConformancePackNamestringOrganizationConformancePackName*string required #
The name you assign to an organization conformance pack.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags for the organization conformance pack.
templateBodyoptionalstringtemplate_bodyoptionalstrtemplateBodyoptionalStringTemplateBodyoptionalstringTemplateBodyoptional*string #
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.

templateS3Urioptionalstringtemplate_s3_urioptionalstrtemplateS3UrioptionalStringTemplateS3UrioptionalstringTemplateS3Urioptional*string #
Location of file containing the template body.

The uri must point to the conformance pack template (max size: 300 KB).