Skip to content
v2.277.0

ConfigurationPolicyReference Struct ​

A reference to a ConfigurationPolicy resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as interfaces_securityhub } from 'aws-cdk-lib/interfaces';
const configurationPolicyReference: interfaces_securityhub.ConfigurationPolicyReference = {
  configurationPolicyArn: 'configurationPolicyArn',
};
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_securityhub as interfaces_securityhub

configuration_policy_reference = interfaces_securityhub.ConfigurationPolicyReference(
    configuration_policy_arn="configurationPolicyArn"
)
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.securityhub.*;

ConfigurationPolicyReference configurationPolicyReference = ConfigurationPolicyReference.builder()
        .configurationPolicyArn("configurationPolicyArn")
        .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.SecurityHub;

var configurationPolicyReference = new ConfigurationPolicyReference {
    ConfigurationPolicyArn = "configurationPolicyArn"
};
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"

configurationPolicyReference := &ConfigurationPolicyReference{
	ConfigurationPolicyArn: jsii.String("configurationPolicyArn"),
}

Properties ​

configurationPolicyArnstringconfiguration_policy_arnstrconfigurationPolicyArnStringConfigurationPolicyArnstringConfigurationPolicyArn*string required #
The Arn of the ConfigurationPolicy resource.