CfnAnalysisTemplatePropsMixin
- class aws_cdk.mixins_preview.aws_cleanrooms.mixins.CfnAnalysisTemplatePropsMixin(props, *, strategy=None)
Bases:
MixinCreates a new analysis template.
- See:
- CloudformationResource:
AWS::CleanRooms::AnalysisTemplate
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_cleanrooms import mixins as cleanrooms_mixins cfn_analysis_template_props_mixin = cleanrooms_mixins.CfnAnalysisTemplatePropsMixin(cleanrooms_mixins.CfnAnalysisTemplateMixinProps( analysis_parameters=[cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisParameterProperty( default_value="defaultValue", name="name", type="type" )], description="description", error_message_configuration=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.ErrorMessageConfigurationProperty( type="type" ), format="format", membership_identifier="membershipIdentifier", name="name", schema=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisSchemaProperty( referenced_tables=["referencedTables"] ), source=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisSourceProperty( artifacts=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactsProperty( additional_artifacts=[cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactProperty( location=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.S3LocationProperty( bucket="bucket", key="key" ) )], entry_point=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactProperty( location=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.S3LocationProperty( bucket="bucket", key="key" ) ), role_arn="roleArn" ), text="text" ), source_metadata=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisSourceMetadataProperty( artifacts=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactMetadataProperty( additional_artifact_hashes=[cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.HashProperty( sha256="sha256" )], entry_point_hash=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.HashProperty( sha256="sha256" ) ) ), tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::CleanRooms::AnalysisTemplate.- Parameters:
props (
Union[CfnAnalysisTemplateMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['analysisParameters', 'description', 'errorMessageConfiguration', 'format', 'membershipIdentifier', 'name', 'schema', 'source', 'sourceMetadata', 'tags']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
AnalysisParameterProperty
- class CfnAnalysisTemplatePropsMixin.AnalysisParameterProperty(*, default_value=None, name=None, type=None)
Bases:
objectOptional.
The member who can query can provide this placeholder for a literal data value in an analysis template.
- Parameters:
default_value (
Optional[str]) – Optional. The default value that is applied in the analysis template. The member who can query can override this value in the query editor.name (
Optional[str]) – The name of the parameter. The name must use only alphanumeric, underscore (_), or hyphen (-) characters but cannot start or end with a hyphen.type (
Optional[str]) – The type of parameter.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cleanrooms import mixins as cleanrooms_mixins analysis_parameter_property = cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisParameterProperty( default_value="defaultValue", name="name", type="type" )
Attributes
- default_value
Optional.
The default value that is applied in the analysis template. The member who can query can override this value in the query editor.
- name
The name of the parameter.
The name must use only alphanumeric, underscore (_), or hyphen (-) characters but cannot start or end with a hyphen.
AnalysisSchemaProperty
- class CfnAnalysisTemplatePropsMixin.AnalysisSchemaProperty(*, referenced_tables=None)
Bases:
objectA relation within an analysis.
- Parameters:
referenced_tables (
Optional[Sequence[str]]) – The tables referenced in the analysis schema.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cleanrooms import mixins as cleanrooms_mixins analysis_schema_property = cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisSchemaProperty( referenced_tables=["referencedTables"] )
Attributes
- referenced_tables
The tables referenced in the analysis schema.
AnalysisSourceMetadataProperty
- class CfnAnalysisTemplatePropsMixin.AnalysisSourceMetadataProperty(*, artifacts=None)
Bases:
objectThe analysis source metadata.
- Parameters:
artifacts (
Union[IResolvable,AnalysisTemplateArtifactMetadataProperty,Dict[str,Any],None]) – The artifacts of the analysis source metadata.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cleanrooms import mixins as cleanrooms_mixins analysis_source_metadata_property = cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisSourceMetadataProperty( artifacts=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactMetadataProperty( additional_artifact_hashes=[cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.HashProperty( sha256="sha256" )], entry_point_hash=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.HashProperty( sha256="sha256" ) ) )
Attributes
- artifacts
The artifacts of the analysis source metadata.
AnalysisSourceProperty
- class CfnAnalysisTemplatePropsMixin.AnalysisSourceProperty(*, artifacts=None, text=None)
Bases:
objectThe structure that defines the body of the analysis template.
- Parameters:
artifacts (
Union[IResolvable,AnalysisTemplateArtifactsProperty,Dict[str,Any],None]) – The artifacts of the analysis source.text (
Optional[str]) – The query text.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cleanrooms import mixins as cleanrooms_mixins analysis_source_property = cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisSourceProperty( artifacts=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactsProperty( additional_artifacts=[cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactProperty( location=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.S3LocationProperty( bucket="bucket", key="key" ) )], entry_point=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactProperty( location=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.S3LocationProperty( bucket="bucket", key="key" ) ), role_arn="roleArn" ), text="text" )
Attributes
- artifacts
The artifacts of the analysis source.
AnalysisTemplateArtifactMetadataProperty
- class CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactMetadataProperty(*, additional_artifact_hashes=None, entry_point_hash=None)
Bases:
objectThe analysis template artifact metadata.
- Parameters:
additional_artifact_hashes (
Union[IResolvable,Sequence[Union[IResolvable,HashProperty,Dict[str,Any]]],None]) – Additional artifact hashes for the analysis template.entry_point_hash (
Union[IResolvable,HashProperty,Dict[str,Any],None]) – The hash of the entry point for the analysis template artifact metadata.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cleanrooms import mixins as cleanrooms_mixins analysis_template_artifact_metadata_property = cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactMetadataProperty( additional_artifact_hashes=[cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.HashProperty( sha256="sha256" )], entry_point_hash=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.HashProperty( sha256="sha256" ) )
Attributes
- additional_artifact_hashes
Additional artifact hashes for the analysis template.
- entry_point_hash
The hash of the entry point for the analysis template artifact metadata.
AnalysisTemplateArtifactProperty
- class CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactProperty(*, location=None)
Bases:
objectThe analysis template artifact.
- Parameters:
location (
Union[IResolvable,S3LocationProperty,Dict[str,Any],None]) – The artifact location.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cleanrooms import mixins as cleanrooms_mixins analysis_template_artifact_property = cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactProperty( location=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.S3LocationProperty( bucket="bucket", key="key" ) )
Attributes
AnalysisTemplateArtifactsProperty
- class CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactsProperty(*, additional_artifacts=None, entry_point=None, role_arn=None)
Bases:
objectThe analysis template artifacts.
- Parameters:
additional_artifacts (
Union[IResolvable,Sequence[Union[IResolvable,AnalysisTemplateArtifactProperty,Dict[str,Any]]],None]) – Additional artifacts for the analysis template.entry_point (
Union[IResolvable,AnalysisTemplateArtifactProperty,Dict[str,Any],None]) – The entry point for the analysis template artifacts.role_arn (
Optional[str]) – The role ARN for the analysis template artifacts.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cleanrooms import mixins as cleanrooms_mixins analysis_template_artifacts_property = cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactsProperty( additional_artifacts=[cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactProperty( location=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.S3LocationProperty( bucket="bucket", key="key" ) )], entry_point=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.AnalysisTemplateArtifactProperty( location=cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.S3LocationProperty( bucket="bucket", key="key" ) ), role_arn="roleArn" )
Attributes
- additional_artifacts
Additional artifacts for the analysis template.
- entry_point
The entry point for the analysis template artifacts.
- role_arn
The role ARN for the analysis template artifacts.
ErrorMessageConfigurationProperty
- class CfnAnalysisTemplatePropsMixin.ErrorMessageConfigurationProperty(*, type=None)
Bases:
objectA structure that defines the level of detail included in error messages returned by PySpark jobs.
This configuration allows you to control the verbosity of error messages to help with troubleshooting PySpark jobs while maintaining appropriate security controls.
- Parameters:
type (
Optional[str]) – The level of detail for error messages returned by the PySpark job. When set to DETAILED, error messages include more information to help troubleshoot issues with your PySpark job. Because this setting may expose sensitive data, it is recommended for development and testing environments.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cleanrooms import mixins as cleanrooms_mixins error_message_configuration_property = cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.ErrorMessageConfigurationProperty( type="type" )
Attributes
- type
The level of detail for error messages returned by the PySpark job.
When set to DETAILED, error messages include more information to help troubleshoot issues with your PySpark job.
Because this setting may expose sensitive data, it is recommended for development and testing environments.
HashProperty
- class CfnAnalysisTemplatePropsMixin.HashProperty(*, sha256=None)
Bases:
objectHash.
- Parameters:
sha256 (
Optional[str]) – The SHA-256 hash value.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cleanrooms import mixins as cleanrooms_mixins hash_property = cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.HashProperty( sha256="sha256" )
Attributes
S3LocationProperty
- class CfnAnalysisTemplatePropsMixin.S3LocationProperty(*, bucket=None, key=None)
Bases:
objectThe S3 location.
- Parameters:
bucket (
Optional[str]) – The bucket name.key (
Optional[str]) – The object key.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cleanrooms import mixins as cleanrooms_mixins s3_location_property = cleanrooms_mixins.CfnAnalysisTemplatePropsMixin.S3LocationProperty( bucket="bucket", key="key" )
Attributes
- bucket
The bucket name.