Skip to content
v2.278.0

SiteReference Struct ​

A reference to a Site 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 siteReference: interfaces_outposts.SiteReference = {
  siteArn: 'siteArn',
};
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

site_reference = interfaces_outposts.SiteReference(
    site_arn="siteArn"
)
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.*;

SiteReference siteReference = SiteReference.builder()
        .siteArn("siteArn")
        .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 siteReference = new SiteReference {
    SiteArn = "siteArn"
};
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"

siteReference := &SiteReference{
	SiteArn: jsii.String("siteArn"),
}

Properties ​

siteArnstringsite_arnstrsiteArnStringSiteArnstringSiteArn*string required #
The SiteArn of the Site resource.