Skip to content
v2.277.0

PrivateConnectionReference Struct ​

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_devopsagent as interfaces_devopsagent } from 'aws-cdk-lib/interfaces';
const privateConnectionReference: interfaces_devopsagent.PrivateConnectionReference = {
  privateConnectionArn: 'privateConnectionArn',
  privateConnectionName: 'privateConnectionName',
};
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_devopsagent as interfaces_devopsagent

private_connection_reference = interfaces_devopsagent.PrivateConnectionReference(
    private_connection_arn="privateConnectionArn",
    private_connection_name="privateConnectionName"
)
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.devopsagent.*;

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

var privateConnectionReference = new PrivateConnectionReference {
    PrivateConnectionArn = "privateConnectionArn",
    PrivateConnectionName = "privateConnectionName"
};
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"),
	PrivateConnectionName: jsii.String("privateConnectionName"),
}

Properties ​

privateConnectionArnstringprivate_connection_arnstrprivateConnectionArnStringPrivateConnectionArnstringPrivateConnectionArn*string required #
The ARN of the PrivateConnection resource.
privateConnectionNamestringprivate_connection_namestrprivateConnectionNameStringPrivateConnectionNamestringPrivateConnectionName*string required #
The Name of the PrivateConnection resource.