Skip to content
v2.276.0

ConnectorV2Reference Struct ​

A reference to a ConnectorV2 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 connectorV2Reference: interfaces_securityhub.ConnectorV2Reference = {
  connectorArn: 'connectorArn',
};
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

connector_v2_reference = interfaces_securityhub.ConnectorV2Reference(
    connector_arn="connectorArn"
)
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.*;

ConnectorV2Reference connectorV2Reference = ConnectorV2Reference.builder()
        .connectorArn("connectorArn")
        .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 connectorV2Reference = new ConnectorV2Reference {
    ConnectorArn = "connectorArn"
};
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"

connectorV2Reference := &ConnectorV2Reference{
	ConnectorArn: jsii.String("connectorArn"),
}

Properties ​

connectorArnstringconnector_arnstrconnectorArnStringConnectorArnstringConnectorArn*stringrequired#
The ConnectorArn of the ConnectorV2 resource.