DistributionTenantReference Struct
A reference to a DistributionTenant resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as interfaces_cloudfront } from 'aws-cdk-lib/interfaces';
const distributionTenantReference: interfaces_cloudfront.DistributionTenantReference = {
distributionTenantArn: 'distributionTenantArn',
distributionTenantId: 'distributionTenantId',
};
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_cloudfront as interfaces_cloudfront
distribution_tenant_reference = interfaces_cloudfront.DistributionTenantReference(
distribution_tenant_arn="distributionTenantArn",
distribution_tenant_id="distributionTenantId"
)
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.cloudfront.*;
DistributionTenantReference distributionTenantReference = DistributionTenantReference.builder()
.distributionTenantArn("distributionTenantArn")
.distributionTenantId("distributionTenantId")
.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.CloudFront;
var distributionTenantReference = new DistributionTenantReference {
DistributionTenantArn = "distributionTenantArn",
DistributionTenantId = "distributionTenantId"
};
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"
distributionTenantReference := &DistributionTenantReference{
DistributionTenantArn: jsii.String("distributionTenantArn"),
DistributionTenantId: jsii.String("distributionTenantId"),
}
Properties
distributionTenantArnstringdistribution_tenant_arnstrdistributionTenantArnStringDistributionTenantArnstringDistributionTenantArn*string required #The ARN of the DistributionTenant resource.
distributionTenantIdstringdistribution_tenant_idstrdistributionTenantIdStringDistributionTenantIdstringDistributionTenantId*string required #The Id of the DistributionTenant resource.