Skip to content
v2.278.0

OutpostReference Struct ​

A reference to a Outpost resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_outposts as interfaces_outposts } from 'aws-cdk-lib/interfaces';
const outpostReference: interfaces_outposts.OutpostReference = {
  outpostArn: 'outpostArn',
};
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_outposts as interfaces_outposts

outpost_reference = interfaces_outposts.OutpostReference(
    outpost_arn="outpostArn"
)
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.outposts.*;

OutpostReference outpostReference = OutpostReference.builder()
        .outpostArn("outpostArn")
        .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.Outposts;

var outpostReference = new OutpostReference {
    OutpostArn = "outpostArn"
};
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"

outpostReference := &OutpostReference{
	OutpostArn: jsii.String("outpostArn"),
}

Properties ​

outpostArnstringoutpost_arnstroutpostArnStringOutpostArnstringOutpostArn*string required #
The OutpostArn of the Outpost resource.