Skip to content
v2.278.0

SourceProperty Struct Added in v2.278.0 ​

The source of a managed conformance pack.

Specifying Source creates a managed conformance pack, whose Config rules are managed by AWS. You can only specify one of Source or the template body or template S3Uri fields.

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 sourceProperty: config.CfnConformancePack.SourceProperty = {
  sourceIdentifier: 'sourceIdentifier',
};
python
# 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

source_property = config.CfnConformancePack.SourceProperty(
    source_identifier="sourceIdentifier"
)
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.*;

SourceProperty sourceProperty = SourceProperty.builder()
        .sourceIdentifier("sourceIdentifier")
        .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 sourceProperty = new SourceProperty {
    SourceIdentifier = "sourceIdentifier"
};
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"

sourceProperty := &SourceProperty{
	SourceIdentifier: jsii.String("sourceIdentifier"),
}

Properties ​

sourceIdentifierstringsource_identifierstrsourceIdentifierStringSourceIdentifierstringSourceIdentifier*string required #
The identifier specifying which managed conformance pack is being deployed.