Skip to content
v2.278.0

ConformancePackReference Struct ​

A reference to a ConformancePack resource.

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 interfaces_config } from 'aws-cdk-lib/interfaces';
const conformancePackReference: interfaces_config.ConformancePackReference = {
  conformancePackArn: 'conformancePackArn',
  conformancePackName: 'conformancePackName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_config as interfaces_config

conformance_pack_reference = interfaces_config.ConformancePackReference(
    conformance_pack_arn="conformancePackArn",
    conformance_pack_name="conformancePackName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.config.*;

ConformancePackReference conformancePackReference = ConformancePackReference.builder()
        .conformancePackArn("conformancePackArn")
        .conformancePackName("conformancePackName")
        .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.Interfaces.Config;

var conformancePackReference = new ConformancePackReference {
    ConformancePackArn = "conformancePackArn",
    ConformancePackName = "conformancePackName"
};
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"

conformancePackReference := &ConformancePackReference{
	ConformancePackArn: jsii.String("conformancePackArn"),
	ConformancePackName: jsii.String("conformancePackName"),
}

Properties ​

conformancePackArnstringconformance_pack_arnstrconformancePackArnStringConformancePackArnstringConformancePackArn*string required #
The ARN of the ConformancePack resource.
conformancePackNamestringconformance_pack_namestrconformancePackNameStringConformancePackNamestringConformancePackName*string required #
The ConformancePackName of the ConformancePack resource.