Skip to content
v2.277.0

AnalysisTemplateArtifactsProperty Struct ​

The analysis template artifacts.

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 analysisTemplateArtifactsProperty: cleanrooms.CfnAnalysisTemplate.AnalysisTemplateArtifactsProperty = {
  entryPoint: {
    location: {
      bucket: 'bucket',
      key: 'key',
    },
  },
  roleArn: 'roleArn',

  // the properties below are optional
  additionalArtifacts: [{
    location: {
      bucket: 'bucket',
      key: 'key',
    },
  }],
};
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_template_artifacts_property = 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"
        )
    )]
)
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.*;

AnalysisTemplateArtifactsProperty analysisTemplateArtifactsProperty = 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();
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 analysisTemplateArtifactsProperty = 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"
        }
    } }
};
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"

analysisTemplateArtifactsProperty := &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"),
			},
		},
	},
}

Properties ​

additionalArtifactsoptionalIResolvable | IResolvable | CfnAnalysisTemplate.AnalysisTemplateArtifactProperty[]additional_artifactsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AnalysisTemplateArtifactProperty]]]additionalArtifactsoptionalIResolvableAdditionalArtifactsoptionalIResolvableAdditionalArtifactsoptionalinterface{}#
Additional artifacts for the analysis template.
entryPointIResolvable | CfnAnalysisTemplate.AnalysisTemplateArtifactPropertyentry_pointtyping.Union[IResolvable, AnalysisTemplateArtifactProperty]entryPointIResolvableEntryPointIResolvableEntryPointinterface{}required#
The entry point for the analysis template artifacts.
roleArnstringrole_arnstrroleArnStringRoleArnstringRoleArn*stringrequired#
The role ARN for the analysis template artifacts.