AnalysisSourceProperty Struct
The structure that defines the body of the analysis template.
| 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_cleanrooms as cleanrooms } from 'aws-cdk-lib';
const analysisSourceProperty: cleanrooms.CfnAnalysisTemplate.AnalysisSourceProperty = {
artifacts: {
entryPoint: {
location: {
bucket: 'bucket',
key: 'key',
},
},
roleArn: 'roleArn',
// the properties below are optional
additionalArtifacts: [{
location: {
bucket: 'bucket',
key: 'key',
},
}],
},
text: 'text',
};
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_cleanrooms as cleanrooms
analysis_source_property = cleanrooms.CfnAnalysisTemplate.AnalysisSourceProperty(
artifacts=cleanrooms.CfnAnalysisTemplate.AnalysisTemplateArtifactsProperty(
entry_point=cleanrooms.CfnAnalysisTemplate.AnalysisTemplateArtifactProperty(
location=cleanrooms.CfnAnalysisTemplate.S3LocationProperty(
bucket="bucket",
key="key"
)
),
role_arn="roleArn",
# the properties below are optional
additional_artifacts=[cleanrooms.CfnAnalysisTemplate.AnalysisTemplateArtifactProperty(
location=cleanrooms.CfnAnalysisTemplate.S3LocationProperty(
bucket="bucket",
key="key"
)
)]
),
text="text"
)
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.cleanrooms.*;
AnalysisSourceProperty analysisSourceProperty = AnalysisSourceProperty.builder()
.artifacts(AnalysisTemplateArtifactsProperty.builder()
.entryPoint(AnalysisTemplateArtifactProperty.builder()
.location(S3LocationProperty.builder()
.bucket("bucket")
.key("key")
.build())
.build())
.roleArn("roleArn")
// the properties below are optional
.additionalArtifacts(List.of(AnalysisTemplateArtifactProperty.builder()
.location(S3LocationProperty.builder()
.bucket("bucket")
.key("key")
.build())
.build()))
.build())
.text("text")
.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.CleanRooms;
var analysisSourceProperty = new AnalysisSourceProperty {
Artifacts = new AnalysisTemplateArtifactsProperty {
EntryPoint = new AnalysisTemplateArtifactProperty {
Location = new S3LocationProperty {
Bucket = "bucket",
Key = "key"
}
},
RoleArn = "roleArn",
// the properties below are optional
AdditionalArtifacts = new [] { new AnalysisTemplateArtifactProperty {
Location = new S3LocationProperty {
Bucket = "bucket",
Key = "key"
}
} }
},
Text = "text"
};
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"
analysisSourceProperty := &AnalysisSourceProperty{
Artifacts: &AnalysisTemplateArtifactsProperty{
EntryPoint: &AnalysisTemplateArtifactProperty{
Location: &S3LocationProperty{
Bucket: jsii.String("bucket"),
Key: jsii.String("key"),
},
},
RoleArn: jsii.String("roleArn"),
// the properties below are optional
AdditionalArtifacts: []interface{}{
&AnalysisTemplateArtifactProperty{
Location: &S3LocationProperty{
Bucket: jsii.String("bucket"),
Key: jsii.String("key"),
},
},
},
},
Text: jsii.String("text"),
}
Properties
artifactsoptionalIResolvable | CfnAnalysisTemplate.artifactsoptionaltyping.Union[IResolvable, AnalysisTemplateArtifactsProperty]artifactsoptionalIResolvableArtifactsoptionalIResolvableArtifactsoptionalinterface{} #The artifacts of the analysis source.
The query text.