Class CfnAnalysisTemplate
- All Implemented Interfaces:
IInspectable,IAnalysisTemplateRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
Example:
// 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.*;
CfnAnalysisTemplate cfnAnalysisTemplate = CfnAnalysisTemplate.Builder.create(this, "MyCfnAnalysisTemplate")
.format("format")
.membershipIdentifier("membershipIdentifier")
.name("name")
.source(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())
// the properties below are optional
.analysisParameters(List.of(AnalysisParameterProperty.builder()
.name("name")
.type("type")
// the properties below are optional
.defaultValue("defaultValue")
.build()))
.description("description")
.errorMessageConfiguration(ErrorMessageConfigurationProperty.builder()
.type("type")
.build())
.schema(AnalysisSchemaProperty.builder()
.referencedTables(List.of("referencedTables"))
.build())
.sourceMetadata(AnalysisSourceMetadataProperty.builder()
.artifacts(AnalysisTemplateArtifactMetadataProperty.builder()
.entryPointHash(HashProperty.builder()
.sha256("sha256")
.build())
// the properties below are optional
.additionalArtifactHashes(List.of(HashProperty.builder()
.sha256("sha256")
.build()))
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceOptional.static interfaceA relation within an analysis.static interfaceThe analysis source metadata.static interfaceThe structure that defines the body of the analysis template.static interfaceThe analysis template artifact metadata.static interfaceThe analysis template artifact.static interfaceThe analysis template artifacts.static final classA fluent builder forCfnAnalysisTemplate.static interfaceA structure that defines the level of detail included in error messages returned by PySpark jobs.static interfaceHash.static interfaceThe S3 location.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.cleanrooms.IAnalysisTemplateRef
IAnalysisTemplateRef.Jsii$Default, IAnalysisTemplateRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnAnalysisTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnAnalysisTemplate(software.amazon.jsii.JsiiObjectRef objRef) CfnAnalysisTemplate(software.constructs.Construct scope, String id, CfnAnalysisTemplateProps props) Create a newAWS::CleanRooms::AnalysisTemplate. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForAnalysisTemplate(IAnalysisTemplateRef resource) The parameters of the analysis template.A reference to a AnalysisTemplate resource.Returns the identifier for the analysis template.Returns the Amazon Resource Name (ARN) of the analysis template.Returns the unique ARN for the analysis template’s associated collaboration.Returns the unique ID for the associated collaboration of the analysis template.Returns the Amazon Resource Name (ARN) of the member who created the analysis template.Tag Manager which manages the tags for this resource.The description of the analysis template.The configuration that specifies the level of detail in error messages returned by analyses using this template.The format of the analysis template.The identifier for a membership resource.getName()The name of the analysis template.The entire schema object.The source of the analysis template.The source metadata for the analysis template.getTags()An optional label that you can assign to a resource when you create it.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnAnalysisTemplate.renderProperties(Map<String, Object> props) voidsetAnalysisParameters(List<Object> value) The parameters of the analysis template.voidsetAnalysisParameters(IResolvable value) The parameters of the analysis template.voidsetDescription(String value) The description of the analysis template.voidThe configuration that specifies the level of detail in error messages returned by analyses using this template.voidThe configuration that specifies the level of detail in error messages returned by analyses using this template.voidThe format of the analysis template.voidsetMembershipIdentifier(String value) The identifier for a membership resource.voidThe name of the analysis template.voidsetSchema(IResolvable value) The entire schema object.voidThe entire schema object.voidsetSource(IResolvable value) The source of the analysis template.voidThe source of the analysis template.voidsetSourceMetadata(IResolvable value) The source metadata for the analysis template.voidThe source metadata for the analysis template.voidAn optional label that you can assign to a resource when you create it.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnAnalysisTemplate
protected CfnAnalysisTemplate(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAnalysisTemplate
protected CfnAnalysisTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAnalysisTemplate
@Stability(Stable) public CfnAnalysisTemplate(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAnalysisTemplateProps props) Create a newAWS::CleanRooms::AnalysisTemplate.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForAnalysisTemplate
@Stability(Stable) @NotNull public static String arnForAnalysisTemplate(@NotNull IAnalysisTemplateRef resource) - Parameters:
resource- This parameter is required.
-
isCfnAnalysisTemplate
Checks whether the given object is a CfnAnalysisTemplate.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAnalysisTemplateRef
A reference to a AnalysisTemplate resource.- Specified by:
getAnalysisTemplateRefin interfaceIAnalysisTemplateRef
-
getAttrAnalysisTemplateIdentifier
Returns the identifier for the analysis template.Example:
a1b2c3d4-5678-90ab-cdef-EXAMPLE2222 -
getAttrArn
Returns the Amazon Resource Name (ARN) of the analysis template.Example:
arn:aws:cleanrooms:us-east-1:111122223333:membership/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/analysistemplates/a1b2c3d4-5678-90ab-cdef-EXAMPLE2222 -
getAttrCollaborationArn
Returns the unique ARN for the analysis template’s associated collaboration.Example:
arn:aws:cleanrooms:us-east-1:111122223333:collaboration/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333 -
getAttrCollaborationIdentifier
Returns the unique ID for the associated collaboration of the analysis template.Example:
a1b2c3d4-5678-90ab-cdef-EXAMPLE33333 -
getAttrMembershipArn
Returns the Amazon Resource Name (ARN) of the member who created the analysis template.Example:
arn:aws:cleanrooms:us-east-1:111122223333:membership/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 -
getAttrSchema
-
getAttrSchemaReferencedTables
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getFormat
The format of the analysis template. -
setFormat
The format of the analysis template. -
getMembershipIdentifier
The identifier for a membership resource. -
setMembershipIdentifier
The identifier for a membership resource. -
getName
The name of the analysis template. -
setName
The name of the analysis template. -
getSource
The source of the analysis template.Returns union: either
IResolvableorCfnAnalysisTemplate.AnalysisSourceProperty -
setSource
The source of the analysis template. -
setSource
The source of the analysis template. -
getAnalysisParameters
The parameters of the analysis template.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAnalysisTemplate.AnalysisParameterProperty> -
setAnalysisParameters
The parameters of the analysis template. -
setAnalysisParameters
The parameters of the analysis template. -
getDescription
The description of the analysis template. -
setDescription
The description of the analysis template. -
getErrorMessageConfiguration
The configuration that specifies the level of detail in error messages returned by analyses using this template.Returns union: either
IResolvableorCfnAnalysisTemplate.ErrorMessageConfigurationProperty -
setErrorMessageConfiguration
The configuration that specifies the level of detail in error messages returned by analyses using this template. -
setErrorMessageConfiguration
@Stability(Stable) public void setErrorMessageConfiguration(@Nullable CfnAnalysisTemplate.ErrorMessageConfigurationProperty value) The configuration that specifies the level of detail in error messages returned by analyses using this template. -
getSchema
The entire schema object.Returns union: either
IResolvableorCfnAnalysisTemplate.AnalysisSchemaProperty -
setSchema
The entire schema object. -
setSchema
@Stability(Stable) public void setSchema(@Nullable CfnAnalysisTemplate.AnalysisSchemaProperty value) The entire schema object. -
getSourceMetadata
The source metadata for the analysis template.Returns union: either
IResolvableorCfnAnalysisTemplate.AnalysisSourceMetadataProperty -
setSourceMetadata
The source metadata for the analysis template. -
setSourceMetadata
@Stability(Stable) public void setSourceMetadata(@Nullable CfnAnalysisTemplate.AnalysisSourceMetadataProperty value) The source metadata for the analysis template. -
getTags
An optional label that you can assign to a resource when you create it. -
setTags
An optional label that you can assign to a resource when you create it.
-