Skip to content
v2.277.0

ImportSourceProperty Struct ​

The import source for the key value store.

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 cloudfront } from 'aws-cdk-lib';
const importSourceProperty: cloudfront.CfnKeyValueStore.ImportSourceProperty = {
  sourceArn: 'sourceArn',
  sourceType: 'sourceType',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront

import_source_property = cloudfront.CfnKeyValueStore.ImportSourceProperty(
    source_arn="sourceArn",
    source_type="sourceType"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;

ImportSourceProperty importSourceProperty = ImportSourceProperty.builder()
        .sourceArn("sourceArn")
        .sourceType("sourceType")
        .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.AWS.CloudFront;

var importSourceProperty = new ImportSourceProperty {
    SourceArn = "sourceArn",
    SourceType = "sourceType"
};
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"

importSourceProperty := &ImportSourceProperty{
	SourceArn: jsii.String("sourceArn"),
	SourceType: jsii.String("sourceType"),
}

Properties ​

sourceArnstringsource_arnstrsourceArnStringSourceArnstringSourceArn*stringrequired#
The Amazon Resource Name (ARN) of the import source for the key value store.
sourceTypestringsource_typestrsourceTypeStringSourceTypestringSourceType*stringrequired#
The source type of the import source for the key value store.