Skip to content
v2.278.0

FeatureReference Struct ​

A reference to a Feature resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_evidently as interfaces_evidently } from 'aws-cdk-lib/interfaces';
const featureReference: interfaces_evidently.FeatureReference = {
  featureArn: 'featureArn',
};
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_evidently as interfaces_evidently

feature_reference = interfaces_evidently.FeatureReference(
    feature_arn="featureArn"
)
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.evidently.*;

FeatureReference featureReference = FeatureReference.builder()
        .featureArn("featureArn")
        .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.Evidently;

var featureReference = new FeatureReference {
    FeatureArn = "featureArn"
};
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"

featureReference := &FeatureReference{
	FeatureArn: jsii.String("featureArn"),
}

Properties ​

featureArnstringfeature_arnstrfeatureArnStringFeatureArnstringFeatureArn*string required #
The Arn of the Feature resource.