Skip to content
v2.276.0

PrivateConnectionReference Struct Added in v2.276.0 ​

A reference to a PrivateConnection resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as interfaces_securityagent } from 'aws-cdk-lib/interfaces';
const privateConnectionReference: interfaces_securityagent.PrivateConnectionReference = {
  privateConnectionArn: 'privateConnectionArn',
};
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_securityagent as interfaces_securityagent

private_connection_reference = interfaces_securityagent.PrivateConnectionReference(
    private_connection_arn="privateConnectionArn"
)
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.securityagent.*;

PrivateConnectionReference privateConnectionReference = PrivateConnectionReference.builder()
        .privateConnectionArn("privateConnectionArn")
        .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.SecurityAgent;

var privateConnectionReference = new PrivateConnectionReference {
    PrivateConnectionArn = "privateConnectionArn"
};
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"

privateConnectionReference := &PrivateConnectionReference{
	PrivateConnectionArn: jsii.String("privateConnectionArn"),
}

Properties ​

privateConnectionArnstringprivate_connection_arnstrprivateConnectionArnStringPrivateConnectionArnstringPrivateConnectionArn*stringrequired#
The Arn of the PrivateConnection resource.