Skip to content
v2.277.0

CfnProductSubscriptionProps Struct ​

Properties for defining a CfnProductSubscription.

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 securityhub } from 'aws-cdk-lib';
const cfnProductSubscriptionProps: securityhub.CfnProductSubscriptionProps = {
  productArn: 'productArn',
};
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_securityhub as securityhub

cfn_product_subscription_props = securityhub.CfnProductSubscriptionProps(
    product_arn="productArn"
)
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.securityhub.*;

CfnProductSubscriptionProps cfnProductSubscriptionProps = CfnProductSubscriptionProps.builder()
        .productArn("productArn")
        .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.SecurityHub;

var cfnProductSubscriptionProps = new CfnProductSubscriptionProps {
    ProductArn = "productArn"
};
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"

cfnProductSubscriptionProps := &CfnProductSubscriptionProps{
	ProductArn: jsii.String("productArn"),
}

Properties ​

productArnstringproduct_arnstrproductArnStringProductArnstringProductArn*string required #
The ARN of the product to enable the integration for.