Documentation
¶
Index ¶
- func CfnAnalysisTemplate_ArnForAnalysisTemplate(resource interfacesawscleanrooms.IAnalysisTemplateRef) *string
- func CfnAnalysisTemplate_CFN_RESOURCE_TYPE_NAME() *string
- func CfnAnalysisTemplate_IsCfnAnalysisTemplate(x interface{}) *bool
- func CfnAnalysisTemplate_IsCfnElement(x interface{}) *bool
- func CfnAnalysisTemplate_IsCfnResource(x interface{}) *bool
- func CfnAnalysisTemplate_IsConstruct(x interface{}) *bool
- func CfnCollaboration_ArnForCollaboration(resource interfacesawscleanrooms.ICollaborationRef) *string
- func CfnCollaboration_CFN_RESOURCE_TYPE_NAME() *string
- func CfnCollaboration_IsCfnCollaboration(x interface{}) *bool
- func CfnCollaboration_IsCfnElement(x interface{}) *bool
- func CfnCollaboration_IsCfnResource(x interface{}) *bool
- func CfnCollaboration_IsConstruct(x interface{}) *bool
- func CfnConfiguredTableAssociation_ArnForConfiguredTableAssociation(resource interfacesawscleanrooms.IConfiguredTableAssociationRef) *string
- func CfnConfiguredTableAssociation_CFN_RESOURCE_TYPE_NAME() *string
- func CfnConfiguredTableAssociation_IsCfnConfiguredTableAssociation(x interface{}) *bool
- func CfnConfiguredTableAssociation_IsCfnElement(x interface{}) *bool
- func CfnConfiguredTableAssociation_IsCfnResource(x interface{}) *bool
- func CfnConfiguredTableAssociation_IsConstruct(x interface{}) *bool
- func CfnConfiguredTable_ArnForConfiguredTable(resource interfacesawscleanrooms.IConfiguredTableRef) *string
- func CfnConfiguredTable_CFN_RESOURCE_TYPE_NAME() *string
- func CfnConfiguredTable_IsCfnConfiguredTable(x interface{}) *bool
- func CfnConfiguredTable_IsCfnElement(x interface{}) *bool
- func CfnConfiguredTable_IsCfnResource(x interface{}) *bool
- func CfnConfiguredTable_IsConstruct(x interface{}) *bool
- func CfnIdMappingTable_ArnForIdMappingTable(resource interfacesawscleanrooms.IIdMappingTableRef) *string
- func CfnIdMappingTable_CFN_RESOURCE_TYPE_NAME() *string
- func CfnIdMappingTable_IsCfnElement(x interface{}) *bool
- func CfnIdMappingTable_IsCfnIdMappingTable(x interface{}) *bool
- func CfnIdMappingTable_IsCfnResource(x interface{}) *bool
- func CfnIdMappingTable_IsConstruct(x interface{}) *bool
- func CfnIdNamespaceAssociation_ArnForIdNamespaceAssociation(resource interfacesawscleanrooms.IIdNamespaceAssociationRef) *string
- func CfnIdNamespaceAssociation_CFN_RESOURCE_TYPE_NAME() *string
- func CfnIdNamespaceAssociation_IsCfnElement(x interface{}) *bool
- func CfnIdNamespaceAssociation_IsCfnIdNamespaceAssociation(x interface{}) *bool
- func CfnIdNamespaceAssociation_IsCfnResource(x interface{}) *bool
- func CfnIdNamespaceAssociation_IsConstruct(x interface{}) *bool
- func CfnMembership_ArnForMembership(resource interfacesawscleanrooms.IMembershipRef) *string
- func CfnMembership_CFN_RESOURCE_TYPE_NAME() *string
- func CfnMembership_IsCfnElement(x interface{}) *bool
- func CfnMembership_IsCfnMembership(x interface{}) *bool
- func CfnMembership_IsCfnResource(x interface{}) *bool
- func CfnMembership_IsConstruct(x interface{}) *bool
- func CfnPrivacyBudgetTemplate_ArnForPrivacyBudgetTemplate(resource interfacesawscleanrooms.IPrivacyBudgetTemplateRef) *string
- func CfnPrivacyBudgetTemplate_CFN_RESOURCE_TYPE_NAME() *string
- func CfnPrivacyBudgetTemplate_IsCfnElement(x interface{}) *bool
- func CfnPrivacyBudgetTemplate_IsCfnPrivacyBudgetTemplate(x interface{}) *bool
- func CfnPrivacyBudgetTemplate_IsCfnResource(x interface{}) *bool
- func CfnPrivacyBudgetTemplate_IsConstruct(x interface{}) *bool
- func NewCfnAnalysisTemplate_Override(c CfnAnalysisTemplate, scope constructs.Construct, id *string, ...)
- func NewCfnCollaboration_Override(c CfnCollaboration, scope constructs.Construct, id *string, ...)
- func NewCfnConfiguredTableAssociation_Override(c CfnConfiguredTableAssociation, scope constructs.Construct, id *string, ...)
- func NewCfnConfiguredTable_Override(c CfnConfiguredTable, scope constructs.Construct, id *string, ...)
- func NewCfnIdMappingTable_Override(c CfnIdMappingTable, scope constructs.Construct, id *string, ...)
- func NewCfnIdNamespaceAssociation_Override(c CfnIdNamespaceAssociation, scope constructs.Construct, id *string, ...)
- func NewCfnMembership_Override(c CfnMembership, scope constructs.Construct, id *string, ...)
- func NewCfnPrivacyBudgetTemplate_Override(c CfnPrivacyBudgetTemplate, scope constructs.Construct, id *string, ...)
- type CfnAnalysisTemplate
- type CfnAnalysisTemplateProps
- type CfnAnalysisTemplate_AnalysisParameterProperty
- type CfnAnalysisTemplate_AnalysisSchemaProperty
- type CfnAnalysisTemplate_AnalysisSourceMetadataProperty
- type CfnAnalysisTemplate_AnalysisSourceProperty
- type CfnAnalysisTemplate_AnalysisTemplateArtifactMetadataProperty
- type CfnAnalysisTemplate_AnalysisTemplateArtifactProperty
- type CfnAnalysisTemplate_AnalysisTemplateArtifactsProperty
- type CfnAnalysisTemplate_ColumnClassificationDetailsProperty
- type CfnAnalysisTemplate_ErrorMessageConfigurationProperty
- type CfnAnalysisTemplate_HashProperty
- type CfnAnalysisTemplate_MLSyntheticDataParametersProperty
- type CfnAnalysisTemplate_S3LocationProperty
- type CfnAnalysisTemplate_SyntheticDataColumnPropertiesProperty
- type CfnAnalysisTemplate_SyntheticDataParametersProperty
- type CfnCollaboration
- type CfnCollaborationProps
- type CfnCollaboration_DataEncryptionMetadataProperty
- type CfnCollaboration_JobComputePaymentConfigProperty
- type CfnCollaboration_MLMemberAbilitiesProperty
- type CfnCollaboration_MLPaymentConfigProperty
- type CfnCollaboration_MemberSpecificationProperty
- type CfnCollaboration_ModelInferencePaymentConfigProperty
- type CfnCollaboration_ModelTrainingPaymentConfigProperty
- type CfnCollaboration_PaymentConfigurationProperty
- type CfnCollaboration_QueryComputePaymentConfigProperty
- type CfnCollaboration_SyntheticDataGenerationPaymentConfigProperty
- type CfnConfiguredTable
- type CfnConfiguredTableAssociation
- type CfnConfiguredTableAssociationProps
- type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleAggregationProperty
- type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleCustomProperty
- type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleListProperty
- type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRulePolicyProperty
- type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRulePolicyV1Property
- type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleProperty
- type CfnConfiguredTableProps
- type CfnConfiguredTable_AggregateColumnProperty
- type CfnConfiguredTable_AggregationConstraintProperty
- type CfnConfiguredTable_AnalysisRuleAggregationProperty
- type CfnConfiguredTable_AnalysisRuleCustomProperty
- type CfnConfiguredTable_AnalysisRuleListProperty
- type CfnConfiguredTable_AnalysisRuleProperty
- type CfnConfiguredTable_AthenaTableReferenceProperty
- type CfnConfiguredTable_ConfiguredTableAnalysisRulePolicyProperty
- type CfnConfiguredTable_ConfiguredTableAnalysisRulePolicyV1Property
- type CfnConfiguredTable_DifferentialPrivacyColumnProperty
- type CfnConfiguredTable_DifferentialPrivacyProperty
- type CfnConfiguredTable_GlueTableReferenceProperty
- type CfnConfiguredTable_SnowflakeTableReferenceProperty
- type CfnConfiguredTable_SnowflakeTableSchemaProperty
- type CfnConfiguredTable_SnowflakeTableSchemaV1Property
- type CfnConfiguredTable_TableReferenceProperty
- type CfnIdMappingTable
- type CfnIdMappingTableProps
- type CfnIdMappingTable_IdMappingTableInputReferenceConfigProperty
- type CfnIdMappingTable_IdMappingTableInputReferencePropertiesProperty
- type CfnIdMappingTable_IdMappingTableInputSourceProperty
- type CfnIdNamespaceAssociation
- type CfnIdNamespaceAssociationProps
- type CfnIdNamespaceAssociation_IdMappingConfigProperty
- type CfnIdNamespaceAssociation_IdNamespaceAssociationInputReferenceConfigProperty
- type CfnIdNamespaceAssociation_IdNamespaceAssociationInputReferencePropertiesProperty
- type CfnMembership
- type CfnMembershipProps
- type CfnMembership_MembershipJobComputePaymentConfigProperty
- type CfnMembership_MembershipMLPaymentConfigProperty
- type CfnMembership_MembershipModelInferencePaymentConfigProperty
- type CfnMembership_MembershipModelTrainingPaymentConfigProperty
- type CfnMembership_MembershipPaymentConfigurationProperty
- type CfnMembership_MembershipProtectedJobOutputConfigurationProperty
- type CfnMembership_MembershipProtectedJobResultConfigurationProperty
- type CfnMembership_MembershipProtectedQueryOutputConfigurationProperty
- type CfnMembership_MembershipProtectedQueryResultConfigurationProperty
- type CfnMembership_MembershipQueryComputePaymentConfigProperty
- type CfnMembership_MembershipSyntheticDataGenerationPaymentConfigProperty
- type CfnMembership_ProtectedJobS3OutputConfigurationInputProperty
- type CfnMembership_ProtectedQueryS3OutputConfigurationProperty
- type CfnPrivacyBudgetTemplate
- type CfnPrivacyBudgetTemplateProps
- type CfnPrivacyBudgetTemplate_BudgetParameterProperty
- type CfnPrivacyBudgetTemplate_ParametersProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnAnalysisTemplate_ArnForAnalysisTemplate ¶ added in v2.227.0
func CfnAnalysisTemplate_ArnForAnalysisTemplate(resource interfacesawscleanrooms.IAnalysisTemplateRef) *string
func CfnAnalysisTemplate_CFN_RESOURCE_TYPE_NAME ¶ added in v2.97.0
func CfnAnalysisTemplate_CFN_RESOURCE_TYPE_NAME() *string
func CfnAnalysisTemplate_IsCfnAnalysisTemplate ¶ added in v2.231.0
func CfnAnalysisTemplate_IsCfnAnalysisTemplate(x interface{}) *bool
Checks whether the given object is a CfnAnalysisTemplate.
func CfnAnalysisTemplate_IsCfnElement ¶ added in v2.97.0
func CfnAnalysisTemplate_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnAnalysisTemplate_IsCfnResource ¶ added in v2.97.0
func CfnAnalysisTemplate_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnAnalysisTemplate_IsConstruct ¶ added in v2.97.0
func CfnAnalysisTemplate_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnCollaboration_ArnForCollaboration ¶ added in v2.227.0
func CfnCollaboration_ArnForCollaboration(resource interfacesawscleanrooms.ICollaborationRef) *string
func CfnCollaboration_CFN_RESOURCE_TYPE_NAME ¶
func CfnCollaboration_CFN_RESOURCE_TYPE_NAME() *string
func CfnCollaboration_IsCfnCollaboration ¶ added in v2.231.0
func CfnCollaboration_IsCfnCollaboration(x interface{}) *bool
Checks whether the given object is a CfnCollaboration.
func CfnCollaboration_IsCfnElement ¶
func CfnCollaboration_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnCollaboration_IsCfnResource ¶
func CfnCollaboration_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnCollaboration_IsConstruct ¶
func CfnCollaboration_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnConfiguredTableAssociation_ArnForConfiguredTableAssociation ¶ added in v2.227.0
func CfnConfiguredTableAssociation_ArnForConfiguredTableAssociation(resource interfacesawscleanrooms.IConfiguredTableAssociationRef) *string
func CfnConfiguredTableAssociation_CFN_RESOURCE_TYPE_NAME ¶
func CfnConfiguredTableAssociation_CFN_RESOURCE_TYPE_NAME() *string
func CfnConfiguredTableAssociation_IsCfnConfiguredTableAssociation ¶ added in v2.231.0
func CfnConfiguredTableAssociation_IsCfnConfiguredTableAssociation(x interface{}) *bool
Checks whether the given object is a CfnConfiguredTableAssociation.
func CfnConfiguredTableAssociation_IsCfnElement ¶
func CfnConfiguredTableAssociation_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnConfiguredTableAssociation_IsCfnResource ¶
func CfnConfiguredTableAssociation_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnConfiguredTableAssociation_IsConstruct ¶
func CfnConfiguredTableAssociation_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnConfiguredTable_ArnForConfiguredTable ¶ added in v2.227.0
func CfnConfiguredTable_ArnForConfiguredTable(resource interfacesawscleanrooms.IConfiguredTableRef) *string
func CfnConfiguredTable_CFN_RESOURCE_TYPE_NAME ¶
func CfnConfiguredTable_CFN_RESOURCE_TYPE_NAME() *string
func CfnConfiguredTable_IsCfnConfiguredTable ¶ added in v2.231.0
func CfnConfiguredTable_IsCfnConfiguredTable(x interface{}) *bool
Checks whether the given object is a CfnConfiguredTable.
func CfnConfiguredTable_IsCfnElement ¶
func CfnConfiguredTable_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnConfiguredTable_IsCfnResource ¶
func CfnConfiguredTable_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnConfiguredTable_IsConstruct ¶
func CfnConfiguredTable_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnIdMappingTable_ArnForIdMappingTable ¶ added in v2.227.0
func CfnIdMappingTable_ArnForIdMappingTable(resource interfacesawscleanrooms.IIdMappingTableRef) *string
func CfnIdMappingTable_CFN_RESOURCE_TYPE_NAME ¶ added in v2.154.0
func CfnIdMappingTable_CFN_RESOURCE_TYPE_NAME() *string
func CfnIdMappingTable_IsCfnElement ¶ added in v2.154.0
func CfnIdMappingTable_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnIdMappingTable_IsCfnIdMappingTable ¶ added in v2.231.0
func CfnIdMappingTable_IsCfnIdMappingTable(x interface{}) *bool
Checks whether the given object is a CfnIdMappingTable.
func CfnIdMappingTable_IsCfnResource ¶ added in v2.154.0
func CfnIdMappingTable_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnIdMappingTable_IsConstruct ¶ added in v2.154.0
func CfnIdMappingTable_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnIdNamespaceAssociation_ArnForIdNamespaceAssociation ¶ added in v2.227.0
func CfnIdNamespaceAssociation_ArnForIdNamespaceAssociation(resource interfacesawscleanrooms.IIdNamespaceAssociationRef) *string
func CfnIdNamespaceAssociation_CFN_RESOURCE_TYPE_NAME ¶ added in v2.154.0
func CfnIdNamespaceAssociation_CFN_RESOURCE_TYPE_NAME() *string
func CfnIdNamespaceAssociation_IsCfnElement ¶ added in v2.154.0
func CfnIdNamespaceAssociation_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnIdNamespaceAssociation_IsCfnIdNamespaceAssociation ¶ added in v2.231.0
func CfnIdNamespaceAssociation_IsCfnIdNamespaceAssociation(x interface{}) *bool
Checks whether the given object is a CfnIdNamespaceAssociation.
func CfnIdNamespaceAssociation_IsCfnResource ¶ added in v2.154.0
func CfnIdNamespaceAssociation_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnIdNamespaceAssociation_IsConstruct ¶ added in v2.154.0
func CfnIdNamespaceAssociation_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnMembership_ArnForMembership ¶ added in v2.227.0
func CfnMembership_ArnForMembership(resource interfacesawscleanrooms.IMembershipRef) *string
func CfnMembership_CFN_RESOURCE_TYPE_NAME ¶
func CfnMembership_CFN_RESOURCE_TYPE_NAME() *string
func CfnMembership_IsCfnElement ¶
func CfnMembership_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnMembership_IsCfnMembership ¶ added in v2.231.0
func CfnMembership_IsCfnMembership(x interface{}) *bool
Checks whether the given object is a CfnMembership.
func CfnMembership_IsCfnResource ¶
func CfnMembership_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnMembership_IsConstruct ¶
func CfnMembership_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnPrivacyBudgetTemplate_ArnForPrivacyBudgetTemplate ¶ added in v2.227.0
func CfnPrivacyBudgetTemplate_ArnForPrivacyBudgetTemplate(resource interfacesawscleanrooms.IPrivacyBudgetTemplateRef) *string
func CfnPrivacyBudgetTemplate_CFN_RESOURCE_TYPE_NAME ¶ added in v2.138.0
func CfnPrivacyBudgetTemplate_CFN_RESOURCE_TYPE_NAME() *string
func CfnPrivacyBudgetTemplate_IsCfnElement ¶ added in v2.138.0
func CfnPrivacyBudgetTemplate_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnPrivacyBudgetTemplate_IsCfnPrivacyBudgetTemplate ¶ added in v2.231.0
func CfnPrivacyBudgetTemplate_IsCfnPrivacyBudgetTemplate(x interface{}) *bool
Checks whether the given object is a CfnPrivacyBudgetTemplate.
func CfnPrivacyBudgetTemplate_IsCfnResource ¶ added in v2.138.0
func CfnPrivacyBudgetTemplate_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnPrivacyBudgetTemplate_IsConstruct ¶ added in v2.138.0
func CfnPrivacyBudgetTemplate_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func NewCfnAnalysisTemplate_Override ¶ added in v2.97.0
func NewCfnAnalysisTemplate_Override(c CfnAnalysisTemplate, scope constructs.Construct, id *string, props *CfnAnalysisTemplateProps)
Create a new `AWS::CleanRooms::AnalysisTemplate`.
func NewCfnCollaboration_Override ¶
func NewCfnCollaboration_Override(c CfnCollaboration, scope constructs.Construct, id *string, props *CfnCollaborationProps)
Create a new `AWS::CleanRooms::Collaboration`.
func NewCfnConfiguredTableAssociation_Override ¶
func NewCfnConfiguredTableAssociation_Override(c CfnConfiguredTableAssociation, scope constructs.Construct, id *string, props *CfnConfiguredTableAssociationProps)
Create a new `AWS::CleanRooms::ConfiguredTableAssociation`.
func NewCfnConfiguredTable_Override ¶
func NewCfnConfiguredTable_Override(c CfnConfiguredTable, scope constructs.Construct, id *string, props *CfnConfiguredTableProps)
Create a new `AWS::CleanRooms::ConfiguredTable`.
func NewCfnIdMappingTable_Override ¶ added in v2.154.0
func NewCfnIdMappingTable_Override(c CfnIdMappingTable, scope constructs.Construct, id *string, props *CfnIdMappingTableProps)
Create a new `AWS::CleanRooms::IdMappingTable`.
func NewCfnIdNamespaceAssociation_Override ¶ added in v2.154.0
func NewCfnIdNamespaceAssociation_Override(c CfnIdNamespaceAssociation, scope constructs.Construct, id *string, props *CfnIdNamespaceAssociationProps)
Create a new `AWS::CleanRooms::IdNamespaceAssociation`.
func NewCfnMembership_Override ¶
func NewCfnMembership_Override(c CfnMembership, scope constructs.Construct, id *string, props *CfnMembershipProps)
Create a new `AWS::CleanRooms::Membership`.
func NewCfnPrivacyBudgetTemplate_Override ¶ added in v2.138.0
func NewCfnPrivacyBudgetTemplate_Override(c CfnPrivacyBudgetTemplate, scope constructs.Construct, id *string, props *CfnPrivacyBudgetTemplateProps)
Create a new `AWS::CleanRooms::PrivacyBudgetTemplate`.
Types ¶
type CfnAnalysisTemplate ¶ added in v2.97.0
type CfnAnalysisTemplate interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawscleanrooms.IAnalysisTemplateRef
awscdk.ITaggableV2
// The parameters of the analysis template.
AnalysisParameters() interface{}
SetAnalysisParameters(val interface{})
// A reference to a AnalysisTemplate resource.
AnalysisTemplateRef() *interfacesawscleanrooms.AnalysisTemplateReference
// Returns the identifier for the analysis template.
//
// Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE2222`.
AttrAnalysisTemplateIdentifier() *string
// 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`.
AttrArn() *string
// 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`.
AttrCollaborationArn() *string
// Returns the unique ID for the associated collaboration of the analysis template.
//
// Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE33333`.
AttrCollaborationIdentifier() *string
// 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`.
AttrMembershipArn() *string
AttrSchema() awscdk.IResolvable
AttrSchemaReferencedTables() *[]*string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnPropertyNames() *map[string]*string
// AWS resource type.
CfnResourceType() *string
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
// The description of the analysis template.
Description() *string
SetDescription(val *string)
Env() *interfaces.ResourceEnvironment
// The configuration that specifies the level of detail in error messages returned by analyses using this template.
ErrorMessageConfiguration() interface{}
SetErrorMessageConfiguration(val interface{})
// The format of the analysis template.
Format() *string
SetFormat(val *string)
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The identifier for a membership resource.
MembershipIdentifier() *string
SetMembershipIdentifier(val *string)
// The name of the analysis template.
Name() *string
SetName(val *string)
// The tree node.
Node() constructs.Node
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// The entire schema object.
Schema() interface{}
SetSchema(val interface{})
// The source of the analysis template.
Source() interface{}
SetSource(val interface{})
// The source metadata for the analysis template.
SourceMetadata() interface{}
SetSourceMetadata(val interface{})
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// The parameters used to generate synthetic data for this analysis template.
SyntheticDataParameters() interface{}
SetSyntheticDataParameters(val interface{})
// An optional label that you can assign to a resource when you create it.
Tags() *[]*awscdk.CfnTag
SetTags(val *[]*awscdk.CfnTag)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
CfnPropertyName(cdkPropertyName *string) *string
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
// Applies one or more mixins to this construct.
//
// Mixins are applied in order. The list of constructs is captured at the
// start of the call, so constructs added by a mixin will not be visited.
// Use multiple `with()` calls if subsequent mixins should apply to added
// constructs.
With(mixins ...constructs.IMixin) constructs.IConstruct
}
Creates a new analysis template.
Example:
// 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"
cfnAnalysisTemplate := awscdk.Aws_cleanrooms.NewCfnAnalysisTemplate(this, jsii.String("MyCfnAnalysisTemplate"), &CfnAnalysisTemplateProps{
Format: jsii.String("format"),
MembershipIdentifier: jsii.String("membershipIdentifier"),
Name: jsii.String("name"),
Source: &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"),
},
// the properties below are optional
AnalysisParameters: []interface{}{
&AnalysisParameterProperty{
Name: jsii.String("name"),
Type: jsii.String("type"),
// the properties below are optional
DefaultValue: jsii.String("defaultValue"),
},
},
Description: jsii.String("description"),
ErrorMessageConfiguration: &ErrorMessageConfigurationProperty{
Type: jsii.String("type"),
},
Schema: &AnalysisSchemaProperty{
ReferencedTables: []*string{
jsii.String("referencedTables"),
},
},
SourceMetadata: &AnalysisSourceMetadataProperty{
Artifacts: &AnalysisTemplateArtifactMetadataProperty{
EntryPointHash: &HashProperty{
Sha256: jsii.String("sha256"),
},
// the properties below are optional
AdditionalArtifactHashes: []interface{}{
&HashProperty{
Sha256: jsii.String("sha256"),
},
},
},
},
SyntheticDataParameters: &SyntheticDataParametersProperty{
MlSyntheticDataParameters: &MLSyntheticDataParametersProperty{
ColumnClassification: &ColumnClassificationDetailsProperty{
ColumnMapping: []interface{}{
&SyntheticDataColumnPropertiesProperty{
ColumnName: jsii.String("columnName"),
ColumnType: jsii.String("columnType"),
IsPredictiveValue: jsii.Boolean(false),
},
},
},
Epsilon: jsii.Number(123),
MaxMembershipInferenceAttackScore: jsii.Number(123),
},
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
})
func NewCfnAnalysisTemplate ¶ added in v2.97.0
func NewCfnAnalysisTemplate(scope constructs.Construct, id *string, props *CfnAnalysisTemplateProps) CfnAnalysisTemplate
Create a new `AWS::CleanRooms::AnalysisTemplate`.
type CfnAnalysisTemplateProps ¶ added in v2.97.0
type CfnAnalysisTemplateProps struct {
// The format of the analysis template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-analysistemplate.html#cfn-cleanrooms-analysistemplate-format
//
Format *string `field:"required" json:"format" yaml:"format"`
// The identifier for a membership resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-analysistemplate.html#cfn-cleanrooms-analysistemplate-membershipidentifier
//
MembershipIdentifier *string `field:"required" json:"membershipIdentifier" yaml:"membershipIdentifier"`
// The name of the analysis template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-analysistemplate.html#cfn-cleanrooms-analysistemplate-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The source of the analysis template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-analysistemplate.html#cfn-cleanrooms-analysistemplate-source
//
Source interface{} `field:"required" json:"source" yaml:"source"`
// The parameters of the analysis template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-analysistemplate.html#cfn-cleanrooms-analysistemplate-analysisparameters
//
AnalysisParameters interface{} `field:"optional" json:"analysisParameters" yaml:"analysisParameters"`
// The description of the analysis template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-analysistemplate.html#cfn-cleanrooms-analysistemplate-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The configuration that specifies the level of detail in error messages returned by analyses using this template.
//
// When set to `DETAILED` , error messages include more information to help troubleshoot issues with PySpark jobs. Detailed error messages may expose underlying data, including sensitive information. Recommended for faster troubleshooting in development and testing environments.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-analysistemplate.html#cfn-cleanrooms-analysistemplate-errormessageconfiguration
//
ErrorMessageConfiguration interface{} `field:"optional" json:"errorMessageConfiguration" yaml:"errorMessageConfiguration"`
// The entire schema object.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-analysistemplate.html#cfn-cleanrooms-analysistemplate-schema
//
Schema interface{} `field:"optional" json:"schema" yaml:"schema"`
// The source metadata for the analysis template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-analysistemplate.html#cfn-cleanrooms-analysistemplate-sourcemetadata
//
SourceMetadata interface{} `field:"optional" json:"sourceMetadata" yaml:"sourceMetadata"`
// The parameters used to generate synthetic data for this analysis template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-analysistemplate.html#cfn-cleanrooms-analysistemplate-syntheticdataparameters
//
SyntheticDataParameters interface{} `field:"optional" json:"syntheticDataParameters" yaml:"syntheticDataParameters"`
// An optional label that you can assign to a resource when you create it.
//
// Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-analysistemplate.html#cfn-cleanrooms-analysistemplate-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnAnalysisTemplate`.
Example:
// 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"
cfnAnalysisTemplateProps := &CfnAnalysisTemplateProps{
Format: jsii.String("format"),
MembershipIdentifier: jsii.String("membershipIdentifier"),
Name: jsii.String("name"),
Source: &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"),
},
// the properties below are optional
AnalysisParameters: []interface{}{
&AnalysisParameterProperty{
Name: jsii.String("name"),
Type: jsii.String("type"),
// the properties below are optional
DefaultValue: jsii.String("defaultValue"),
},
},
Description: jsii.String("description"),
ErrorMessageConfiguration: &ErrorMessageConfigurationProperty{
Type: jsii.String("type"),
},
Schema: &AnalysisSchemaProperty{
ReferencedTables: []*string{
jsii.String("referencedTables"),
},
},
SourceMetadata: &AnalysisSourceMetadataProperty{
Artifacts: &AnalysisTemplateArtifactMetadataProperty{
EntryPointHash: &HashProperty{
Sha256: jsii.String("sha256"),
},
// the properties below are optional
AdditionalArtifactHashes: []interface{}{
&HashProperty{
Sha256: jsii.String("sha256"),
},
},
},
},
SyntheticDataParameters: &SyntheticDataParametersProperty{
MlSyntheticDataParameters: &MLSyntheticDataParametersProperty{
ColumnClassification: &ColumnClassificationDetailsProperty{
ColumnMapping: []interface{}{
&SyntheticDataColumnPropertiesProperty{
ColumnName: jsii.String("columnName"),
ColumnType: jsii.String("columnType"),
IsPredictiveValue: jsii.Boolean(false),
},
},
},
Epsilon: jsii.Number(123),
MaxMembershipInferenceAttackScore: jsii.Number(123),
},
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
type CfnAnalysisTemplate_AnalysisParameterProperty ¶ added in v2.97.0
type CfnAnalysisTemplate_AnalysisParameterProperty struct {
// The name of the parameter.
//
// The name must use only alphanumeric, underscore (_), or hyphen (-) characters but cannot start or end with a hyphen.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysisparameter.html#cfn-cleanrooms-analysistemplate-analysisparameter-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The type of parameter.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysisparameter.html#cfn-cleanrooms-analysistemplate-analysisparameter-type
//
Type *string `field:"required" json:"type" yaml:"type"`
// Optional.
//
// The default value that is applied in the analysis template. The member who can query can override this value in the query editor.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysisparameter.html#cfn-cleanrooms-analysistemplate-analysisparameter-defaultvalue
//
DefaultValue *string `field:"optional" json:"defaultValue" yaml:"defaultValue"`
}
Optional.
The member who can query can provide this placeholder for a literal data value in an analysis template.
Example:
// 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"
analysisParameterProperty := &AnalysisParameterProperty{
Name: jsii.String("name"),
Type: jsii.String("type"),
// the properties below are optional
DefaultValue: jsii.String("defaultValue"),
}
type CfnAnalysisTemplate_AnalysisSchemaProperty ¶ added in v2.97.0
type CfnAnalysisTemplate_AnalysisSchemaProperty struct {
// The tables referenced in the analysis schema.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysisschema.html#cfn-cleanrooms-analysistemplate-analysisschema-referencedtables
//
ReferencedTables *[]*string `field:"required" json:"referencedTables" yaml:"referencedTables"`
}
A relation within an analysis.
Example:
// 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"
analysisSchemaProperty := &AnalysisSchemaProperty{
ReferencedTables: []*string{
jsii.String("referencedTables"),
},
}
type CfnAnalysisTemplate_AnalysisSourceMetadataProperty ¶ added in v2.190.0
type CfnAnalysisTemplate_AnalysisSourceMetadataProperty struct {
// The artifacts of the analysis source metadata.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysissourcemetadata.html#cfn-cleanrooms-analysistemplate-analysissourcemetadata-artifacts
//
Artifacts interface{} `field:"required" json:"artifacts" yaml:"artifacts"`
}
The analysis source metadata.
Example:
// 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"
analysisSourceMetadataProperty := &AnalysisSourceMetadataProperty{
Artifacts: &AnalysisTemplateArtifactMetadataProperty{
EntryPointHash: &HashProperty{
Sha256: jsii.String("sha256"),
},
// the properties below are optional
AdditionalArtifactHashes: []interface{}{
&HashProperty{
Sha256: jsii.String("sha256"),
},
},
},
}
type CfnAnalysisTemplate_AnalysisSourceProperty ¶ added in v2.97.0
type CfnAnalysisTemplate_AnalysisSourceProperty struct {
// The artifacts of the analysis source.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysissource.html#cfn-cleanrooms-analysistemplate-analysissource-artifacts
//
Artifacts interface{} `field:"optional" json:"artifacts" yaml:"artifacts"`
// The query text.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysissource.html#cfn-cleanrooms-analysistemplate-analysissource-text
//
Text *string `field:"optional" json:"text" yaml:"text"`
}
The structure that defines the body of the analysis template.
Example:
// 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"),
}
type CfnAnalysisTemplate_AnalysisTemplateArtifactMetadataProperty ¶ added in v2.190.0
type CfnAnalysisTemplate_AnalysisTemplateArtifactMetadataProperty struct {
// The hash of the entry point for the analysis template artifact metadata.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysistemplateartifactmetadata.html#cfn-cleanrooms-analysistemplate-analysistemplateartifactmetadata-entrypointhash
//
EntryPointHash interface{} `field:"required" json:"entryPointHash" yaml:"entryPointHash"`
// Additional artifact hashes for the analysis template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysistemplateartifactmetadata.html#cfn-cleanrooms-analysistemplate-analysistemplateartifactmetadata-additionalartifacthashes
//
AdditionalArtifactHashes interface{} `field:"optional" json:"additionalArtifactHashes" yaml:"additionalArtifactHashes"`
}
The analysis template artifact metadata.
Example:
// 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"
analysisTemplateArtifactMetadataProperty := &AnalysisTemplateArtifactMetadataProperty{
EntryPointHash: &HashProperty{
Sha256: jsii.String("sha256"),
},
// the properties below are optional
AdditionalArtifactHashes: []interface{}{
&HashProperty{
Sha256: jsii.String("sha256"),
},
},
}
type CfnAnalysisTemplate_AnalysisTemplateArtifactProperty ¶ added in v2.190.0
type CfnAnalysisTemplate_AnalysisTemplateArtifactProperty struct {
// The artifact location.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysistemplateartifact.html#cfn-cleanrooms-analysistemplate-analysistemplateartifact-location
//
Location interface{} `field:"required" json:"location" yaml:"location"`
}
The analysis template artifact.
Example:
// 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"
analysisTemplateArtifactProperty := &AnalysisTemplateArtifactProperty{
Location: &S3LocationProperty{
Bucket: jsii.String("bucket"),
Key: jsii.String("key"),
},
}
type CfnAnalysisTemplate_AnalysisTemplateArtifactsProperty ¶ added in v2.190.0
type CfnAnalysisTemplate_AnalysisTemplateArtifactsProperty struct {
// The entry point for the analysis template artifacts.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysistemplateartifacts.html#cfn-cleanrooms-analysistemplate-analysistemplateartifacts-entrypoint
//
EntryPoint interface{} `field:"required" json:"entryPoint" yaml:"entryPoint"`
// The role ARN for the analysis template artifacts.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysistemplateartifacts.html#cfn-cleanrooms-analysistemplate-analysistemplateartifacts-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// Additional artifacts for the analysis template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysistemplateartifacts.html#cfn-cleanrooms-analysistemplate-analysistemplateartifacts-additionalartifacts
//
AdditionalArtifacts interface{} `field:"optional" json:"additionalArtifacts" yaml:"additionalArtifacts"`
}
The analysis template artifacts.
Example:
// 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"),
},
},
},
}
type CfnAnalysisTemplate_ColumnClassificationDetailsProperty ¶ added in v2.233.0
type CfnAnalysisTemplate_ColumnClassificationDetailsProperty struct {
// A mapping that defines the classification of data columns for synthetic data generation and specifies how each column should be handled during the privacy-preserving data synthesis process.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-columnclassificationdetails.html#cfn-cleanrooms-analysistemplate-columnclassificationdetails-columnmapping
//
ColumnMapping interface{} `field:"required" json:"columnMapping" yaml:"columnMapping"`
}
Contains classification information for data columns, including mappings that specify how columns should be handled during synthetic data generation and privacy analysis.
Example:
// 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"
columnClassificationDetailsProperty := &ColumnClassificationDetailsProperty{
ColumnMapping: []interface{}{
&SyntheticDataColumnPropertiesProperty{
ColumnName: jsii.String("columnName"),
ColumnType: jsii.String("columnType"),
IsPredictiveValue: jsii.Boolean(false),
},
},
}
type CfnAnalysisTemplate_ErrorMessageConfigurationProperty ¶ added in v2.217.0
type CfnAnalysisTemplate_ErrorMessageConfigurationProperty struct {
// 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: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-errormessageconfiguration.html#cfn-cleanrooms-analysistemplate-errormessageconfiguration-type
//
Type *string `field:"required" json:"type" yaml:"type"`
}
A 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.
Example:
// 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"
errorMessageConfigurationProperty := &ErrorMessageConfigurationProperty{
Type: jsii.String("type"),
}
type CfnAnalysisTemplate_HashProperty ¶ added in v2.190.0
type CfnAnalysisTemplate_HashProperty struct {
// The SHA-256 hash value.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-hash.html#cfn-cleanrooms-analysistemplate-hash-sha256
//
Sha256 *string `field:"optional" json:"sha256" yaml:"sha256"`
}
Hash.
Example:
// 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"
hashProperty := &HashProperty{
Sha256: jsii.String("sha256"),
}
type CfnAnalysisTemplate_MLSyntheticDataParametersProperty ¶ added in v2.233.0
type CfnAnalysisTemplate_MLSyntheticDataParametersProperty struct {
// Classification details for data columns that specify how each column should be treated during synthetic data generation.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-mlsyntheticdataparameters.html#cfn-cleanrooms-analysistemplate-mlsyntheticdataparameters-columnclassification
//
ColumnClassification interface{} `field:"required" json:"columnClassification" yaml:"columnClassification"`
// The epsilon value for differential privacy when generating synthetic data.
//
// Lower values provide stronger privacy guarantees but may reduce data utility.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-mlsyntheticdataparameters.html#cfn-cleanrooms-analysistemplate-mlsyntheticdataparameters-epsilon
//
Epsilon *float64 `field:"required" json:"epsilon" yaml:"epsilon"`
// The maximum acceptable score for membership inference attack vulnerability.
//
// Synthetic data generation fails if the score for the resulting data exceeds this threshold.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-mlsyntheticdataparameters.html#cfn-cleanrooms-analysistemplate-mlsyntheticdataparameters-maxmembershipinferenceattackscore
//
MaxMembershipInferenceAttackScore *float64 `field:"required" json:"maxMembershipInferenceAttackScore" yaml:"maxMembershipInferenceAttackScore"`
}
Parameters that control the generation of synthetic data for machine learning, including privacy settings and column classification details.
Example:
// 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"
mLSyntheticDataParametersProperty := &MLSyntheticDataParametersProperty{
ColumnClassification: &ColumnClassificationDetailsProperty{
ColumnMapping: []interface{}{
&SyntheticDataColumnPropertiesProperty{
ColumnName: jsii.String("columnName"),
ColumnType: jsii.String("columnType"),
IsPredictiveValue: jsii.Boolean(false),
},
},
},
Epsilon: jsii.Number(123),
MaxMembershipInferenceAttackScore: jsii.Number(123),
}
type CfnAnalysisTemplate_S3LocationProperty ¶ added in v2.190.0
type CfnAnalysisTemplate_S3LocationProperty struct {
// The bucket name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-s3location.html#cfn-cleanrooms-analysistemplate-s3location-bucket
//
Bucket *string `field:"required" json:"bucket" yaml:"bucket"`
// The object key.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-s3location.html#cfn-cleanrooms-analysistemplate-s3location-key
//
Key *string `field:"required" json:"key" yaml:"key"`
}
The S3 location.
Example:
// 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"
s3LocationProperty := &S3LocationProperty{
Bucket: jsii.String("bucket"),
Key: jsii.String("key"),
}
type CfnAnalysisTemplate_SyntheticDataColumnPropertiesProperty ¶ added in v2.233.0
type CfnAnalysisTemplate_SyntheticDataColumnPropertiesProperty struct {
// The name of the data column as it appears in the dataset.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-syntheticdatacolumnproperties.html#cfn-cleanrooms-analysistemplate-syntheticdatacolumnproperties-columnname
//
ColumnName *string `field:"required" json:"columnName" yaml:"columnName"`
// The data type of the column, which determines how the synthetic data generation algorithm processes and synthesizes values for this column.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-syntheticdatacolumnproperties.html#cfn-cleanrooms-analysistemplate-syntheticdatacolumnproperties-columntype
//
ColumnType *string `field:"required" json:"columnType" yaml:"columnType"`
// Indicates if this column contains predictive values that should be treated as target variables in machine learning models.
//
// This affects how the synthetic data generation preserves statistical relationships.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-syntheticdatacolumnproperties.html#cfn-cleanrooms-analysistemplate-syntheticdatacolumnproperties-ispredictivevalue
//
IsPredictiveValue interface{} `field:"required" json:"isPredictiveValue" yaml:"isPredictiveValue"`
}
Properties that define how a specific data column should be handled during synthetic data generation, including its name, type, and role in predictive modeling.
Example:
// 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"
syntheticDataColumnPropertiesProperty := &SyntheticDataColumnPropertiesProperty{
ColumnName: jsii.String("columnName"),
ColumnType: jsii.String("columnType"),
IsPredictiveValue: jsii.Boolean(false),
}
type CfnAnalysisTemplate_SyntheticDataParametersProperty ¶ added in v2.233.0
type CfnAnalysisTemplate_SyntheticDataParametersProperty struct {
// The machine learning-specific parameters for synthetic data generation.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-syntheticdataparameters.html#cfn-cleanrooms-analysistemplate-syntheticdataparameters-mlsyntheticdataparameters
//
MlSyntheticDataParameters interface{} `field:"required" json:"mlSyntheticDataParameters" yaml:"mlSyntheticDataParameters"`
}
The parameters that control how synthetic data is generated, including privacy settings, column classifications, and other configuration options that affect the data synthesis process.
Example:
// 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"
syntheticDataParametersProperty := &SyntheticDataParametersProperty{
MlSyntheticDataParameters: &MLSyntheticDataParametersProperty{
ColumnClassification: &ColumnClassificationDetailsProperty{
ColumnMapping: []interface{}{
&SyntheticDataColumnPropertiesProperty{
ColumnName: jsii.String("columnName"),
ColumnType: jsii.String("columnType"),
IsPredictiveValue: jsii.Boolean(false),
},
},
},
Epsilon: jsii.Number(123),
MaxMembershipInferenceAttackScore: jsii.Number(123),
},
}
type CfnCollaboration ¶
type CfnCollaboration interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawscleanrooms.ICollaborationRef
awscdk.ITaggableV2
// The AWS Regions where collaboration query results can be stored.
AllowedResultRegions() *[]*string
SetAllowedResultRegions(val *[]*string)
// The analytics engine for the collaboration.
AnalyticsEngine() *string
SetAnalyticsEngine(val *string)
// Returns the Amazon Resource Name (ARN) of the specified collaboration.
//
// Example: `arn:aws:cleanrooms:us-east-1:111122223333:collaboration/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.
AttrArn() *string
// Returns the unique identifier of the specified collaboration.
//
// Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.
AttrCollaborationIdentifier() *string
// The types of change requests that are automatically approved for this collaboration.
AutoApprovedChangeTypes() *[]*string
SetAutoApprovedChangeTypes(val *[]*string)
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnPropertyNames() *map[string]*string
// AWS resource type.
CfnResourceType() *string
// A reference to a Collaboration resource.
CollaborationRef() *interfacesawscleanrooms.CollaborationReference
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
// A display name of the collaboration creator.
CreatorDisplayName() *string
SetCreatorDisplayName(val *string)
// The abilities granted to the collaboration creator.
CreatorMemberAbilities() *[]*string
SetCreatorMemberAbilities(val *[]*string)
// The ML member abilities for a collaboration member.
CreatorMlMemberAbilities() interface{}
SetCreatorMlMemberAbilities(val interface{})
// An object representing the collaboration member's payment responsibilities set by the collaboration creator.
CreatorPaymentConfiguration() interface{}
SetCreatorPaymentConfiguration(val interface{})
// The settings for client-side encryption for cryptographic computing.
DataEncryptionMetadata() interface{}
SetDataEncryptionMetadata(val interface{})
// A description of the collaboration provided by the collaboration owner.
Description() *string
SetDescription(val *string)
Env() *interfaces.ResourceEnvironment
IsMetricsEnabled() interface{}
SetIsMetricsEnabled(val interface{})
// An indicator as to whether job logging has been enabled or disabled for the collaboration.
JobLogStatus() *string
SetJobLogStatus(val *string)
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// A list of initial members, not including the creator.
Members() interface{}
SetMembers(val interface{})
// A human-readable identifier provided by the collaboration owner.
Name() *string
SetName(val *string)
// The tree node.
Node() constructs.Node
// An indicator as to whether query logging has been enabled or disabled for the collaboration.
QueryLogStatus() *string
SetQueryLogStatus(val *string)
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// An optional label that you can assign to a resource when you create it.
Tags() *[]*awscdk.CfnTag
SetTags(val *[]*awscdk.CfnTag)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
CfnPropertyName(cdkPropertyName *string) *string
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
// Applies one or more mixins to this construct.
//
// Mixins are applied in order. The list of constructs is captured at the
// start of the call, so constructs added by a mixin will not be visited.
// Use multiple `with()` calls if subsequent mixins should apply to added
// constructs.
With(mixins ...constructs.IMixin) constructs.IConstruct
}
Creates a new collaboration.
Example:
// 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"
cfnCollaboration := awscdk.Aws_cleanrooms.NewCfnCollaboration(this, jsii.String("MyCfnCollaboration"), &CfnCollaborationProps{
CreatorDisplayName: jsii.String("creatorDisplayName"),
Description: jsii.String("description"),
Name: jsii.String("name"),
QueryLogStatus: jsii.String("queryLogStatus"),
// the properties below are optional
AllowedResultRegions: []*string{
jsii.String("allowedResultRegions"),
},
AnalyticsEngine: jsii.String("analyticsEngine"),
AutoApprovedChangeTypes: []*string{
jsii.String("autoApprovedChangeTypes"),
},
CreatorMemberAbilities: []*string{
jsii.String("creatorMemberAbilities"),
},
CreatorMlMemberAbilities: &MLMemberAbilitiesProperty{
CustomMlMemberAbilities: []*string{
jsii.String("customMlMemberAbilities"),
},
},
CreatorPaymentConfiguration: &PaymentConfigurationProperty{
QueryCompute: &QueryComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
// the properties below are optional
JobCompute: &JobComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
MachineLearning: &MLPaymentConfigProperty{
ModelInference: &ModelInferencePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
ModelTraining: &ModelTrainingPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
SyntheticDataGeneration: &SyntheticDataGenerationPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
},
},
DataEncryptionMetadata: &DataEncryptionMetadataProperty{
AllowCleartext: jsii.Boolean(false),
AllowDuplicates: jsii.Boolean(false),
AllowJoinsOnColumnsWithDifferentNames: jsii.Boolean(false),
PreserveNulls: jsii.Boolean(false),
},
IsMetricsEnabled: jsii.Boolean(false),
JobLogStatus: jsii.String("jobLogStatus"),
Members: []interface{}{
&MemberSpecificationProperty{
AccountId: jsii.String("accountId"),
DisplayName: jsii.String("displayName"),
// the properties below are optional
MemberAbilities: []*string{
jsii.String("memberAbilities"),
},
MlMemberAbilities: &MLMemberAbilitiesProperty{
CustomMlMemberAbilities: []*string{
jsii.String("customMlMemberAbilities"),
},
},
PaymentConfiguration: &PaymentConfigurationProperty{
QueryCompute: &QueryComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
// the properties below are optional
JobCompute: &JobComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
MachineLearning: &MLPaymentConfigProperty{
ModelInference: &ModelInferencePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
ModelTraining: &ModelTrainingPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
SyntheticDataGeneration: &SyntheticDataGenerationPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
},
},
},
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
})
func NewCfnCollaboration ¶
func NewCfnCollaboration(scope constructs.Construct, id *string, props *CfnCollaborationProps) CfnCollaboration
Create a new `AWS::CleanRooms::Collaboration`.
type CfnCollaborationProps ¶
type CfnCollaborationProps struct {
// A display name of the collaboration creator.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-creatordisplayname
//
CreatorDisplayName *string `field:"required" json:"creatorDisplayName" yaml:"creatorDisplayName"`
// A description of the collaboration provided by the collaboration owner.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-description
//
Description *string `field:"required" json:"description" yaml:"description"`
// A human-readable identifier provided by the collaboration owner.
//
// Display names are not unique.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// An indicator as to whether query logging has been enabled or disabled for the collaboration.
//
// When `ENABLED` , AWS Clean Rooms logs details about queries run within this collaboration and those logs can be viewed in Amazon CloudWatch Logs. The default value is `DISABLED` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-querylogstatus
//
QueryLogStatus *string `field:"required" json:"queryLogStatus" yaml:"queryLogStatus"`
// The AWS Regions where collaboration query results can be stored.
//
// Returns the list of Region identifiers that were specified when the collaboration was created. This list is used to enforce regional storage policies and compliance requirements.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-allowedresultregions
//
AllowedResultRegions *[]*string `field:"optional" json:"allowedResultRegions" yaml:"allowedResultRegions"`
// The analytics engine for the collaboration.
//
// > After July 16, 2025, the `CLEAN_ROOMS_SQL` parameter will no longer be available.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-analyticsengine
//
AnalyticsEngine *string `field:"optional" json:"analyticsEngine" yaml:"analyticsEngine"`
// The types of change requests that are automatically approved for this collaboration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-autoapprovedchangetypes
//
AutoApprovedChangeTypes *[]*string `field:"optional" json:"autoApprovedChangeTypes" yaml:"autoApprovedChangeTypes"`
// The abilities granted to the collaboration creator.
//
// *Allowed values* `CAN_QUERY` | `CAN_RECEIVE_RESULTS` | `CAN_RUN_JOB`.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-creatormemberabilities
//
CreatorMemberAbilities *[]*string `field:"optional" json:"creatorMemberAbilities" yaml:"creatorMemberAbilities"`
// The ML member abilities for a collaboration member.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-creatormlmemberabilities
//
CreatorMlMemberAbilities interface{} `field:"optional" json:"creatorMlMemberAbilities" yaml:"creatorMlMemberAbilities"`
// An object representing the collaboration member's payment responsibilities set by the collaboration creator.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-creatorpaymentconfiguration
//
CreatorPaymentConfiguration interface{} `field:"optional" json:"creatorPaymentConfiguration" yaml:"creatorPaymentConfiguration"`
// The settings for client-side encryption for cryptographic computing.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-dataencryptionmetadata
//
DataEncryptionMetadata interface{} `field:"optional" json:"dataEncryptionMetadata" yaml:"dataEncryptionMetadata"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-ismetricsenabled
//
IsMetricsEnabled interface{} `field:"optional" json:"isMetricsEnabled" yaml:"isMetricsEnabled"`
// An indicator as to whether job logging has been enabled or disabled for the collaboration.
//
// When `ENABLED` , AWS Clean Rooms logs details about jobs run within this collaboration and those logs can be viewed in Amazon CloudWatch Logs. The default value is `DISABLED` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-joblogstatus
//
JobLogStatus *string `field:"optional" json:"jobLogStatus" yaml:"jobLogStatus"`
// A list of initial members, not including the creator.
//
// This list is immutable.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-members
//
Members interface{} `field:"optional" json:"members" yaml:"members"`
// An optional label that you can assign to a resource when you create it.
//
// Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnCollaboration`.
Example:
// 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"
cfnCollaborationProps := &CfnCollaborationProps{
CreatorDisplayName: jsii.String("creatorDisplayName"),
Description: jsii.String("description"),
Name: jsii.String("name"),
QueryLogStatus: jsii.String("queryLogStatus"),
// the properties below are optional
AllowedResultRegions: []*string{
jsii.String("allowedResultRegions"),
},
AnalyticsEngine: jsii.String("analyticsEngine"),
AutoApprovedChangeTypes: []*string{
jsii.String("autoApprovedChangeTypes"),
},
CreatorMemberAbilities: []*string{
jsii.String("creatorMemberAbilities"),
},
CreatorMlMemberAbilities: &MLMemberAbilitiesProperty{
CustomMlMemberAbilities: []*string{
jsii.String("customMlMemberAbilities"),
},
},
CreatorPaymentConfiguration: &PaymentConfigurationProperty{
QueryCompute: &QueryComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
// the properties below are optional
JobCompute: &JobComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
MachineLearning: &MLPaymentConfigProperty{
ModelInference: &ModelInferencePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
ModelTraining: &ModelTrainingPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
SyntheticDataGeneration: &SyntheticDataGenerationPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
},
},
DataEncryptionMetadata: &DataEncryptionMetadataProperty{
AllowCleartext: jsii.Boolean(false),
AllowDuplicates: jsii.Boolean(false),
AllowJoinsOnColumnsWithDifferentNames: jsii.Boolean(false),
PreserveNulls: jsii.Boolean(false),
},
IsMetricsEnabled: jsii.Boolean(false),
JobLogStatus: jsii.String("jobLogStatus"),
Members: []interface{}{
&MemberSpecificationProperty{
AccountId: jsii.String("accountId"),
DisplayName: jsii.String("displayName"),
// the properties below are optional
MemberAbilities: []*string{
jsii.String("memberAbilities"),
},
MlMemberAbilities: &MLMemberAbilitiesProperty{
CustomMlMemberAbilities: []*string{
jsii.String("customMlMemberAbilities"),
},
},
PaymentConfiguration: &PaymentConfigurationProperty{
QueryCompute: &QueryComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
// the properties below are optional
JobCompute: &JobComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
MachineLearning: &MLPaymentConfigProperty{
ModelInference: &ModelInferencePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
ModelTraining: &ModelTrainingPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
SyntheticDataGeneration: &SyntheticDataGenerationPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
},
},
},
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
type CfnCollaboration_DataEncryptionMetadataProperty ¶
type CfnCollaboration_DataEncryptionMetadataProperty struct {
// Indicates whether encrypted tables can contain cleartext data ( `TRUE` ) or are to cryptographically process every column ( `FALSE` ).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-dataencryptionmetadata.html#cfn-cleanrooms-collaboration-dataencryptionmetadata-allowcleartext
//
AllowCleartext interface{} `field:"required" json:"allowCleartext" yaml:"allowCleartext"`
// Indicates whether Fingerprint columns can contain duplicate entries ( `TRUE` ) or are to contain only non-repeated values ( `FALSE` ).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-dataencryptionmetadata.html#cfn-cleanrooms-collaboration-dataencryptionmetadata-allowduplicates
//
AllowDuplicates interface{} `field:"required" json:"allowDuplicates" yaml:"allowDuplicates"`
// Indicates whether Fingerprint columns can be joined on any other Fingerprint column with a different name ( `TRUE` ) or can only be joined on Fingerprint columns of the same name ( `FALSE` ).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-dataencryptionmetadata.html#cfn-cleanrooms-collaboration-dataencryptionmetadata-allowjoinsoncolumnswithdifferentnames
//
AllowJoinsOnColumnsWithDifferentNames interface{} `field:"required" json:"allowJoinsOnColumnsWithDifferentNames" yaml:"allowJoinsOnColumnsWithDifferentNames"`
// Indicates whether NULL values are to be copied as NULL to encrypted tables ( `TRUE` ) or cryptographically processed ( `FALSE` ).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-dataencryptionmetadata.html#cfn-cleanrooms-collaboration-dataencryptionmetadata-preservenulls
//
PreserveNulls interface{} `field:"required" json:"preserveNulls" yaml:"preserveNulls"`
}
The settings for client-side encryption for cryptographic computing.
Example:
// 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"
dataEncryptionMetadataProperty := &DataEncryptionMetadataProperty{
AllowCleartext: jsii.Boolean(false),
AllowDuplicates: jsii.Boolean(false),
AllowJoinsOnColumnsWithDifferentNames: jsii.Boolean(false),
PreserveNulls: jsii.Boolean(false),
}
type CfnCollaboration_JobComputePaymentConfigProperty ¶ added in v2.190.0
type CfnCollaboration_JobComputePaymentConfigProperty struct {
// Indicates whether the collaboration creator has configured the collaboration member to pay for query and job compute costs ( `TRUE` ) or has not configured the collaboration member to pay for query and job compute costs ( `FALSE` ).
//
// Exactly one member can be configured to pay for query and job compute costs. An error is returned if the collaboration creator sets a `TRUE` value for more than one member in the collaboration.
//
// An error is returned if the collaboration creator sets a `FALSE` value for the member who can run queries and jobs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-jobcomputepaymentconfig.html#cfn-cleanrooms-collaboration-jobcomputepaymentconfig-isresponsible
//
IsResponsible interface{} `field:"required" json:"isResponsible" yaml:"isResponsible"`
}
An object representing the collaboration member's payment responsibilities set by the collaboration creator for query and job compute costs.
Example:
// 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"
jobComputePaymentConfigProperty := &JobComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
}
type CfnCollaboration_MLMemberAbilitiesProperty ¶ added in v2.174.1
type CfnCollaboration_MLMemberAbilitiesProperty struct {
// The custom ML member abilities for a collaboration member.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-mlmemberabilities.html#cfn-cleanrooms-collaboration-mlmemberabilities-custommlmemberabilities
//
CustomMlMemberAbilities *[]*string `field:"required" json:"customMlMemberAbilities" yaml:"customMlMemberAbilities"`
}
The ML member abilities for a collaboration member.
Example:
// 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"
mLMemberAbilitiesProperty := &MLMemberAbilitiesProperty{
CustomMlMemberAbilities: []*string{
jsii.String("customMlMemberAbilities"),
},
}
type CfnCollaboration_MLPaymentConfigProperty ¶ added in v2.174.1
type CfnCollaboration_MLPaymentConfigProperty struct {
// The payment responsibilities accepted by the member for model inference.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-mlpaymentconfig.html#cfn-cleanrooms-collaboration-mlpaymentconfig-modelinference
//
ModelInference interface{} `field:"optional" json:"modelInference" yaml:"modelInference"`
// The payment responsibilities accepted by the member for model training.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-mlpaymentconfig.html#cfn-cleanrooms-collaboration-mlpaymentconfig-modeltraining
//
ModelTraining interface{} `field:"optional" json:"modelTraining" yaml:"modelTraining"`
// The payment configuration for machine learning synthetic data generation.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-mlpaymentconfig.html#cfn-cleanrooms-collaboration-mlpaymentconfig-syntheticdatageneration
//
SyntheticDataGeneration interface{} `field:"optional" json:"syntheticDataGeneration" yaml:"syntheticDataGeneration"`
}
An object representing the collaboration member's machine learning payment responsibilities set by the collaboration creator.
Example:
// 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"
mLPaymentConfigProperty := &MLPaymentConfigProperty{
ModelInference: &ModelInferencePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
ModelTraining: &ModelTrainingPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
SyntheticDataGeneration: &SyntheticDataGenerationPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
}
type CfnCollaboration_MemberSpecificationProperty ¶
type CfnCollaboration_MemberSpecificationProperty struct {
// The identifier used to reference members of the collaboration.
//
// Currently only supports AWS account ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-memberspecification.html#cfn-cleanrooms-collaboration-memberspecification-accountid
//
AccountId *string `field:"required" json:"accountId" yaml:"accountId"`
// The member's display name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-memberspecification.html#cfn-cleanrooms-collaboration-memberspecification-displayname
//
DisplayName *string `field:"required" json:"displayName" yaml:"displayName"`
// The abilities granted to the collaboration member.
//
// *Allowed Values* : `CAN_QUERY` | `CAN_RECEIVE_RESULTS`.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-memberspecification.html#cfn-cleanrooms-collaboration-memberspecification-memberabilities
//
MemberAbilities *[]*string `field:"optional" json:"memberAbilities" yaml:"memberAbilities"`
// The ML abilities granted to the collaboration member.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-memberspecification.html#cfn-cleanrooms-collaboration-memberspecification-mlmemberabilities
//
MlMemberAbilities interface{} `field:"optional" json:"mlMemberAbilities" yaml:"mlMemberAbilities"`
// The collaboration member's payment responsibilities set by the collaboration creator.
//
// If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-memberspecification.html#cfn-cleanrooms-collaboration-memberspecification-paymentconfiguration
//
PaymentConfiguration interface{} `field:"optional" json:"paymentConfiguration" yaml:"paymentConfiguration"`
}
Basic metadata used to construct a new member.
Example:
// 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"
memberSpecificationProperty := &MemberSpecificationProperty{
AccountId: jsii.String("accountId"),
DisplayName: jsii.String("displayName"),
// the properties below are optional
MemberAbilities: []*string{
jsii.String("memberAbilities"),
},
MlMemberAbilities: &MLMemberAbilitiesProperty{
CustomMlMemberAbilities: []*string{
jsii.String("customMlMemberAbilities"),
},
},
PaymentConfiguration: &PaymentConfigurationProperty{
QueryCompute: &QueryComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
// the properties below are optional
JobCompute: &JobComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
MachineLearning: &MLPaymentConfigProperty{
ModelInference: &ModelInferencePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
ModelTraining: &ModelTrainingPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
SyntheticDataGeneration: &SyntheticDataGenerationPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
},
},
}
type CfnCollaboration_ModelInferencePaymentConfigProperty ¶ added in v2.174.1
type CfnCollaboration_ModelInferencePaymentConfigProperty struct {
// Indicates whether the collaboration creator has configured the collaboration member to pay for model inference costs ( `TRUE` ) or has not configured the collaboration member to pay for model inference costs ( `FALSE` ).
//
// Exactly one member can be configured to pay for model inference costs. An error is returned if the collaboration creator sets a `TRUE` value for more than one member in the collaboration.
//
// If the collaboration creator hasn't specified anyone as the member paying for model inference costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a `FALSE` value for the member who can query.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-modelinferencepaymentconfig.html#cfn-cleanrooms-collaboration-modelinferencepaymentconfig-isresponsible
//
IsResponsible interface{} `field:"required" json:"isResponsible" yaml:"isResponsible"`
}
An object representing the collaboration member's model inference payment responsibilities set by the collaboration creator.
Example:
// 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"
modelInferencePaymentConfigProperty := &ModelInferencePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
}
type CfnCollaboration_ModelTrainingPaymentConfigProperty ¶ added in v2.174.1
type CfnCollaboration_ModelTrainingPaymentConfigProperty struct {
// Indicates whether the collaboration creator has configured the collaboration member to pay for model training costs ( `TRUE` ) or has not configured the collaboration member to pay for model training costs ( `FALSE` ).
//
// Exactly one member can be configured to pay for model training costs. An error is returned if the collaboration creator sets a `TRUE` value for more than one member in the collaboration.
//
// If the collaboration creator hasn't specified anyone as the member paying for model training costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a `FALSE` value for the member who can query.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-modeltrainingpaymentconfig.html#cfn-cleanrooms-collaboration-modeltrainingpaymentconfig-isresponsible
//
IsResponsible interface{} `field:"required" json:"isResponsible" yaml:"isResponsible"`
}
An object representing the collaboration member's model training payment responsibilities set by the collaboration creator.
Example:
// 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"
modelTrainingPaymentConfigProperty := &ModelTrainingPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
}
type CfnCollaboration_PaymentConfigurationProperty ¶ added in v2.112.0
type CfnCollaboration_PaymentConfigurationProperty struct {
// The collaboration member's payment responsibilities set by the collaboration creator for query compute costs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-paymentconfiguration.html#cfn-cleanrooms-collaboration-paymentconfiguration-querycompute
//
QueryCompute interface{} `field:"required" json:"queryCompute" yaml:"queryCompute"`
// The compute configuration for the job.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-paymentconfiguration.html#cfn-cleanrooms-collaboration-paymentconfiguration-jobcompute
//
JobCompute interface{} `field:"optional" json:"jobCompute" yaml:"jobCompute"`
// An object representing the collaboration member's machine learning payment responsibilities set by the collaboration creator.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-paymentconfiguration.html#cfn-cleanrooms-collaboration-paymentconfiguration-machinelearning
//
MachineLearning interface{} `field:"optional" json:"machineLearning" yaml:"machineLearning"`
}
An object representing the collaboration member's payment responsibilities set by the collaboration creator.
Example:
// 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"
paymentConfigurationProperty := &PaymentConfigurationProperty{
QueryCompute: &QueryComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
// the properties below are optional
JobCompute: &JobComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
MachineLearning: &MLPaymentConfigProperty{
ModelInference: &ModelInferencePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
ModelTraining: &ModelTrainingPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
SyntheticDataGeneration: &SyntheticDataGenerationPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
},
}
type CfnCollaboration_QueryComputePaymentConfigProperty ¶ added in v2.112.0
type CfnCollaboration_QueryComputePaymentConfigProperty struct {
// Indicates whether the collaboration creator has configured the collaboration member to pay for query compute costs ( `TRUE` ) or has not configured the collaboration member to pay for query compute costs ( `FALSE` ).
//
// Exactly one member can be configured to pay for query compute costs. An error is returned if the collaboration creator sets a `TRUE` value for more than one member in the collaboration.
//
// If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a `FALSE` value for the member who can query.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-querycomputepaymentconfig.html#cfn-cleanrooms-collaboration-querycomputepaymentconfig-isresponsible
//
IsResponsible interface{} `field:"required" json:"isResponsible" yaml:"isResponsible"`
}
An object representing the collaboration member's payment responsibilities set by the collaboration creator for query compute costs.
Example:
// 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"
queryComputePaymentConfigProperty := &QueryComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
}
type CfnCollaboration_SyntheticDataGenerationPaymentConfigProperty ¶ added in v2.233.0
type CfnCollaboration_SyntheticDataGenerationPaymentConfigProperty struct {
// Indicates who is responsible for paying for synthetic data generation.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-syntheticdatagenerationpaymentconfig.html#cfn-cleanrooms-collaboration-syntheticdatagenerationpaymentconfig-isresponsible
//
IsResponsible interface{} `field:"required" json:"isResponsible" yaml:"isResponsible"`
}
Payment configuration for synthetic data generation.
Example:
// 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"
syntheticDataGenerationPaymentConfigProperty := &SyntheticDataGenerationPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
}
type CfnConfiguredTable ¶
type CfnConfiguredTable interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawscleanrooms.IConfiguredTableRef
awscdk.ITaggableV2
// The columns within the underlying AWS Glue table that can be used within collaborations.
AllowedColumns() *[]*string
SetAllowedColumns(val *[]*string)
// The analysis method for the configured table.
AnalysisMethod() *string
SetAnalysisMethod(val *string)
// The analysis rule that was created for the configured table.
AnalysisRules() interface{}
SetAnalysisRules(val interface{})
// Returns the Amazon Resource Name (ARN) of the specified configured table.
//
// Example: `arn:aws:cleanrooms:us-east-1:111122223333:configuredtable/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.
AttrArn() *string
// Returns the unique identifier of the specified configured table.
//
// Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE33333`.
AttrConfiguredTableIdentifier() *string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnPropertyNames() *map[string]*string
// AWS resource type.
CfnResourceType() *string
// A reference to a ConfiguredTable resource.
ConfiguredTableRef() *interfacesawscleanrooms.ConfiguredTableReference
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
// A description for the configured table.
Description() *string
SetDescription(val *string)
Env() *interfaces.ResourceEnvironment
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// A name for the configured table.
Name() *string
SetName(val *string)
// The tree node.
Node() constructs.Node
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// The selected analysis methods for the configured table.
SelectedAnalysisMethods() *[]*string
SetSelectedAnalysisMethods(val *[]*string)
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// The table that this configured table represents.
TableReference() interface{}
SetTableReference(val interface{})
// An optional label that you can assign to a resource when you create it.
Tags() *[]*awscdk.CfnTag
SetTags(val *[]*awscdk.CfnTag)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
CfnPropertyName(cdkPropertyName *string) *string
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
// Applies one or more mixins to this construct.
//
// Mixins are applied in order. The list of constructs is captured at the
// start of the call, so constructs added by a mixin will not be visited.
// Use multiple `with()` calls if subsequent mixins should apply to added
// constructs.
With(mixins ...constructs.IMixin) constructs.IConstruct
}
Creates a new configured table resource.
Example:
// 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"
cfnConfiguredTable := awscdk.Aws_cleanrooms.NewCfnConfiguredTable(this, jsii.String("MyCfnConfiguredTable"), &CfnConfiguredTableProps{
AllowedColumns: []*string{
jsii.String("allowedColumns"),
},
AnalysisMethod: jsii.String("analysisMethod"),
Name: jsii.String("name"),
TableReference: &TableReferenceProperty{
Athena: &AthenaTableReferenceProperty{
DatabaseName: jsii.String("databaseName"),
TableName: jsii.String("tableName"),
WorkGroup: jsii.String("workGroup"),
// the properties below are optional
CatalogName: jsii.String("catalogName"),
OutputLocation: jsii.String("outputLocation"),
Region: jsii.String("region"),
},
Glue: &GlueTableReferenceProperty{
DatabaseName: jsii.String("databaseName"),
TableName: jsii.String("tableName"),
// the properties below are optional
Region: jsii.String("region"),
},
Snowflake: &SnowflakeTableReferenceProperty{
AccountIdentifier: jsii.String("accountIdentifier"),
DatabaseName: jsii.String("databaseName"),
SchemaName: jsii.String("schemaName"),
SecretArn: jsii.String("secretArn"),
TableName: jsii.String("tableName"),
TableSchema: &SnowflakeTableSchemaProperty{
V1: []interface{}{
&SnowflakeTableSchemaV1Property{
ColumnName: jsii.String("columnName"),
ColumnType: jsii.String("columnType"),
},
},
},
},
},
// the properties below are optional
AnalysisRules: []interface{}{
&AnalysisRuleProperty{
Policy: &ConfiguredTableAnalysisRulePolicyProperty{
V1: &ConfiguredTableAnalysisRulePolicyV1Property{
Aggregation: &AnalysisRuleAggregationProperty{
AggregateColumns: []interface{}{
&AggregateColumnProperty{
ColumnNames: []*string{
jsii.String("columnNames"),
},
Function: jsii.String("function"),
},
},
DimensionColumns: []*string{
jsii.String("dimensionColumns"),
},
JoinColumns: []*string{
jsii.String("joinColumns"),
},
OutputConstraints: []interface{}{
&AggregationConstraintProperty{
ColumnName: jsii.String("columnName"),
Minimum: jsii.Number(123),
Type: jsii.String("type"),
},
},
ScalarFunctions: []*string{
jsii.String("scalarFunctions"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedJoinOperators: []*string{
jsii.String("allowedJoinOperators"),
},
JoinRequired: jsii.String("joinRequired"),
},
Custom: &AnalysisRuleCustomProperty{
AllowedAnalyses: []*string{
jsii.String("allowedAnalyses"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedAnalysisProviders: []*string{
jsii.String("allowedAnalysisProviders"),
},
DifferentialPrivacy: &DifferentialPrivacyProperty{
Columns: []interface{}{
&DifferentialPrivacyColumnProperty{
Name: jsii.String("name"),
},
},
},
DisallowedOutputColumns: []*string{
jsii.String("disallowedOutputColumns"),
},
},
List: &AnalysisRuleListProperty{
JoinColumns: []*string{
jsii.String("joinColumns"),
},
ListColumns: []*string{
jsii.String("listColumns"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedJoinOperators: []*string{
jsii.String("allowedJoinOperators"),
},
},
},
},
Type: jsii.String("type"),
},
},
Description: jsii.String("description"),
SelectedAnalysisMethods: []*string{
jsii.String("selectedAnalysisMethods"),
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
})
func NewCfnConfiguredTable ¶
func NewCfnConfiguredTable(scope constructs.Construct, id *string, props *CfnConfiguredTableProps) CfnConfiguredTable
Create a new `AWS::CleanRooms::ConfiguredTable`.
type CfnConfiguredTableAssociation ¶
type CfnConfiguredTableAssociation interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawscleanrooms.IConfiguredTableAssociationRef
awscdk.ITaggableV2
// Returns the Amazon Resource Name (ARN) of the specified configured table association.
//
// Example: `arn:aws:cleanrooms:us-east-1:111122223333:configuredtable/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333`.
AttrArn() *string
// Returns the unique identifier of the specified configured table association.
//
// Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE33333`.
AttrConfiguredTableAssociationIdentifier() *string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnPropertyNames() *map[string]*string
// AWS resource type.
CfnResourceType() *string
// An analysis rule for a configured table association.
ConfiguredTableAssociationAnalysisRules() interface{}
SetConfiguredTableAssociationAnalysisRules(val interface{})
// A reference to a ConfiguredTableAssociation resource.
ConfiguredTableAssociationRef() *interfacesawscleanrooms.ConfiguredTableAssociationReference
// A unique identifier for the configured table to be associated to.
ConfiguredTableIdentifier() *string
SetConfiguredTableIdentifier(val *string)
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
// A description of the configured table association.
Description() *string
SetDescription(val *string)
Env() *interfaces.ResourceEnvironment
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The unique ID for the membership this configured table association belongs to.
MembershipIdentifier() *string
SetMembershipIdentifier(val *string)
// The name of the configured table association, in lowercase.
Name() *string
SetName(val *string)
// The tree node.
Node() constructs.Node
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// The service will assume this role to access catalog metadata and query the table.
RoleArn() *string
SetRoleArn(val *string)
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// An optional label that you can assign to a resource when you create it.
Tags() *[]*awscdk.CfnTag
SetTags(val *[]*awscdk.CfnTag)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
CfnPropertyName(cdkPropertyName *string) *string
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
// Applies one or more mixins to this construct.
//
// Mixins are applied in order. The list of constructs is captured at the
// start of the call, so constructs added by a mixin will not be visited.
// Use multiple `with()` calls if subsequent mixins should apply to added
// constructs.
With(mixins ...constructs.IMixin) constructs.IConstruct
}
Creates a configured table association.
A configured table association links a configured table with a collaboration.
Example:
// 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"
cfnConfiguredTableAssociation := awscdk.Aws_cleanrooms.NewCfnConfiguredTableAssociation(this, jsii.String("MyCfnConfiguredTableAssociation"), &CfnConfiguredTableAssociationProps{
ConfiguredTableIdentifier: jsii.String("configuredTableIdentifier"),
MembershipIdentifier: jsii.String("membershipIdentifier"),
Name: jsii.String("name"),
RoleArn: jsii.String("roleArn"),
// the properties below are optional
ConfiguredTableAssociationAnalysisRules: []interface{}{
&ConfiguredTableAssociationAnalysisRuleProperty{
Policy: &ConfiguredTableAssociationAnalysisRulePolicyProperty{
V1: &ConfiguredTableAssociationAnalysisRulePolicyV1Property{
Aggregation: &ConfiguredTableAssociationAnalysisRuleAggregationProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
},
Custom: &ConfiguredTableAssociationAnalysisRuleCustomProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
},
List: &ConfiguredTableAssociationAnalysisRuleListProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
},
},
},
Type: jsii.String("type"),
},
},
Description: jsii.String("description"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
})
func NewCfnConfiguredTableAssociation ¶
func NewCfnConfiguredTableAssociation(scope constructs.Construct, id *string, props *CfnConfiguredTableAssociationProps) CfnConfiguredTableAssociation
Create a new `AWS::CleanRooms::ConfiguredTableAssociation`.
type CfnConfiguredTableAssociationProps ¶
type CfnConfiguredTableAssociationProps struct {
// A unique identifier for the configured table to be associated to.
//
// Currently accepts a configured table ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtableassociation.html#cfn-cleanrooms-configuredtableassociation-configuredtableidentifier
//
ConfiguredTableIdentifier *string `field:"required" json:"configuredTableIdentifier" yaml:"configuredTableIdentifier"`
// The unique ID for the membership this configured table association belongs to.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtableassociation.html#cfn-cleanrooms-configuredtableassociation-membershipidentifier
//
MembershipIdentifier *string `field:"required" json:"membershipIdentifier" yaml:"membershipIdentifier"`
// The name of the configured table association, in lowercase.
//
// The table is identified by this name when running protected queries against the underlying data.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtableassociation.html#cfn-cleanrooms-configuredtableassociation-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The service will assume this role to access catalog metadata and query the table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtableassociation.html#cfn-cleanrooms-configuredtableassociation-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// An analysis rule for a configured table association.
//
// This analysis rule specifies how data from the table can be used within its associated collaboration. In the console, the `ConfiguredTableAssociationAnalysisRule` is referred to as the *collaboration analysis rule* .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtableassociation.html#cfn-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrules
//
ConfiguredTableAssociationAnalysisRules interface{} `field:"optional" json:"configuredTableAssociationAnalysisRules" yaml:"configuredTableAssociationAnalysisRules"`
// A description of the configured table association.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtableassociation.html#cfn-cleanrooms-configuredtableassociation-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// An optional label that you can assign to a resource when you create it.
//
// Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtableassociation.html#cfn-cleanrooms-configuredtableassociation-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnConfiguredTableAssociation`.
Example:
// 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"
cfnConfiguredTableAssociationProps := &CfnConfiguredTableAssociationProps{
ConfiguredTableIdentifier: jsii.String("configuredTableIdentifier"),
MembershipIdentifier: jsii.String("membershipIdentifier"),
Name: jsii.String("name"),
RoleArn: jsii.String("roleArn"),
// the properties below are optional
ConfiguredTableAssociationAnalysisRules: []interface{}{
&ConfiguredTableAssociationAnalysisRuleProperty{
Policy: &ConfiguredTableAssociationAnalysisRulePolicyProperty{
V1: &ConfiguredTableAssociationAnalysisRulePolicyV1Property{
Aggregation: &ConfiguredTableAssociationAnalysisRuleAggregationProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
},
Custom: &ConfiguredTableAssociationAnalysisRuleCustomProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
},
List: &ConfiguredTableAssociationAnalysisRuleListProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
},
},
},
Type: jsii.String("type"),
},
},
Description: jsii.String("description"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleAggregationProperty ¶ added in v2.154.0
type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleAggregationProperty struct {
// The list of resources or wildcards (ARNs) that are allowed to perform additional analysis on query output.
//
// The `allowedAdditionalAnalyses` parameter is currently supported for the list analysis rule ( `AnalysisRuleList` ) and the custom analysis rule ( `AnalysisRuleCustom` ).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtableassociation-configuredtableassociationanalysisruleaggregation.html#cfn-cleanrooms-configuredtableassociation-configuredtableassociationanalysisruleaggregation-allowedadditionalanalyses
//
AllowedAdditionalAnalyses *[]*string `field:"optional" json:"allowedAdditionalAnalyses" yaml:"allowedAdditionalAnalyses"`
// The list of collaboration members who are allowed to receive results of queries run with this configured table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtableassociation-configuredtableassociationanalysisruleaggregation.html#cfn-cleanrooms-configuredtableassociation-configuredtableassociationanalysisruleaggregation-allowedresultreceivers
//
AllowedResultReceivers *[]*string `field:"optional" json:"allowedResultReceivers" yaml:"allowedResultReceivers"`
}
The configured table association analysis rule applied to a configured table with the aggregation analysis rule.
Example:
// 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"
configuredTableAssociationAnalysisRuleAggregationProperty := &ConfiguredTableAssociationAnalysisRuleAggregationProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
}
type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleCustomProperty ¶ added in v2.154.0
type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleCustomProperty struct {
// The list of resources or wildcards (ARNs) that are allowed to perform additional analysis on query output.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulecustom.html#cfn-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulecustom-allowedadditionalanalyses
//
AllowedAdditionalAnalyses *[]*string `field:"optional" json:"allowedAdditionalAnalyses" yaml:"allowedAdditionalAnalyses"`
// The list of collaboration members who are allowed to receive results of queries run with this configured table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulecustom.html#cfn-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulecustom-allowedresultreceivers
//
AllowedResultReceivers *[]*string `field:"optional" json:"allowedResultReceivers" yaml:"allowedResultReceivers"`
}
The configured table association analysis rule applied to a configured table with the custom analysis rule.
Example:
// 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"
configuredTableAssociationAnalysisRuleCustomProperty := &ConfiguredTableAssociationAnalysisRuleCustomProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
}
type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleListProperty ¶ added in v2.154.0
type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleListProperty struct {
// The list of resources or wildcards (ARNs) that are allowed to perform additional analysis on query output.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulelist.html#cfn-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulelist-allowedadditionalanalyses
//
AllowedAdditionalAnalyses *[]*string `field:"optional" json:"allowedAdditionalAnalyses" yaml:"allowedAdditionalAnalyses"`
// The list of collaboration members who are allowed to receive results of queries run with this configured table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulelist.html#cfn-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulelist-allowedresultreceivers
//
AllowedResultReceivers *[]*string `field:"optional" json:"allowedResultReceivers" yaml:"allowedResultReceivers"`
}
The configured table association analysis rule applied to a configured table with the list analysis rule.
Example:
// 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"
configuredTableAssociationAnalysisRuleListProperty := &ConfiguredTableAssociationAnalysisRuleListProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
}
type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRulePolicyProperty ¶ added in v2.154.0
type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRulePolicyProperty struct {
// The policy for the configured table association analysis rule.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulepolicy.html#cfn-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulepolicy-v1
//
V1 interface{} `field:"required" json:"v1" yaml:"v1"`
}
Controls on the query specifications that can be run on an associated configured table.
Example:
// 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"
configuredTableAssociationAnalysisRulePolicyProperty := &ConfiguredTableAssociationAnalysisRulePolicyProperty{
V1: &ConfiguredTableAssociationAnalysisRulePolicyV1Property{
Aggregation: &ConfiguredTableAssociationAnalysisRuleAggregationProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
},
Custom: &ConfiguredTableAssociationAnalysisRuleCustomProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
},
List: &ConfiguredTableAssociationAnalysisRuleListProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
},
},
}
type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRulePolicyV1Property ¶ added in v2.154.0
type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRulePolicyV1Property struct {
// Analysis rule type that enables only aggregation queries on a configured table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulepolicyv1.html#cfn-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulepolicyv1-aggregation
//
Aggregation interface{} `field:"optional" json:"aggregation" yaml:"aggregation"`
// Analysis rule type that enables the table owner to approve custom SQL queries on their configured tables.
//
// It supports differential privacy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulepolicyv1.html#cfn-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulepolicyv1-custom
//
Custom interface{} `field:"optional" json:"custom" yaml:"custom"`
// Analysis rule type that enables only list queries on a configured table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulepolicyv1.html#cfn-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrulepolicyv1-list
//
List interface{} `field:"optional" json:"list" yaml:"list"`
}
Controls on the query specifications that can be run on an associated configured table.
Example:
// 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"
configuredTableAssociationAnalysisRulePolicyV1Property := &ConfiguredTableAssociationAnalysisRulePolicyV1Property{
Aggregation: &ConfiguredTableAssociationAnalysisRuleAggregationProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
},
Custom: &ConfiguredTableAssociationAnalysisRuleCustomProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
},
List: &ConfiguredTableAssociationAnalysisRuleListProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
},
}
type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleProperty ¶ added in v2.154.0
type CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleProperty struct {
// The policy of the configured table association analysis rule.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrule.html#cfn-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrule-policy
//
Policy interface{} `field:"required" json:"policy" yaml:"policy"`
// The type of the configured table association analysis rule.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrule.html#cfn-cleanrooms-configuredtableassociation-configuredtableassociationanalysisrule-type
//
Type *string `field:"required" json:"type" yaml:"type"`
}
An analysis rule for a configured table association.
This analysis rule specifies how data from the table can be used within its associated collaboration. In the console, the `ConfiguredTableAssociationAnalysisRule` is referred to as the *collaboration analysis rule* .
Example:
// 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"
configuredTableAssociationAnalysisRuleProperty := &ConfiguredTableAssociationAnalysisRuleProperty{
Policy: &ConfiguredTableAssociationAnalysisRulePolicyProperty{
V1: &ConfiguredTableAssociationAnalysisRulePolicyV1Property{
Aggregation: &ConfiguredTableAssociationAnalysisRuleAggregationProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
},
Custom: &ConfiguredTableAssociationAnalysisRuleCustomProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
},
List: &ConfiguredTableAssociationAnalysisRuleListProperty{
AllowedAdditionalAnalyses: []*string{
jsii.String("allowedAdditionalAnalyses"),
},
AllowedResultReceivers: []*string{
jsii.String("allowedResultReceivers"),
},
},
},
},
Type: jsii.String("type"),
}
type CfnConfiguredTableProps ¶
type CfnConfiguredTableProps struct {
// The columns within the underlying AWS Glue table that can be used within collaborations.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html#cfn-cleanrooms-configuredtable-allowedcolumns
//
AllowedColumns *[]*string `field:"required" json:"allowedColumns" yaml:"allowedColumns"`
// The analysis method for the configured table.
//
// `DIRECT_QUERY` allows SQL queries to be run directly on this table.
//
// `DIRECT_JOB` allows PySpark jobs to be run directly on this table.
//
// `MULTIPLE` allows both SQL queries and PySpark jobs to be run directly on this table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html#cfn-cleanrooms-configuredtable-analysismethod
//
AnalysisMethod *string `field:"required" json:"analysisMethod" yaml:"analysisMethod"`
// A name for the configured table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html#cfn-cleanrooms-configuredtable-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The table that this configured table represents.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html#cfn-cleanrooms-configuredtable-tablereference
//
TableReference interface{} `field:"required" json:"tableReference" yaml:"tableReference"`
// The analysis rule that was created for the configured table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html#cfn-cleanrooms-configuredtable-analysisrules
//
AnalysisRules interface{} `field:"optional" json:"analysisRules" yaml:"analysisRules"`
// A description for the configured table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html#cfn-cleanrooms-configuredtable-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The selected analysis methods for the configured table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html#cfn-cleanrooms-configuredtable-selectedanalysismethods
//
SelectedAnalysisMethods *[]*string `field:"optional" json:"selectedAnalysisMethods" yaml:"selectedAnalysisMethods"`
// An optional label that you can assign to a resource when you create it.
//
// Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html#cfn-cleanrooms-configuredtable-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnConfiguredTable`.
Example:
// 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"
cfnConfiguredTableProps := &CfnConfiguredTableProps{
AllowedColumns: []*string{
jsii.String("allowedColumns"),
},
AnalysisMethod: jsii.String("analysisMethod"),
Name: jsii.String("name"),
TableReference: &TableReferenceProperty{
Athena: &AthenaTableReferenceProperty{
DatabaseName: jsii.String("databaseName"),
TableName: jsii.String("tableName"),
WorkGroup: jsii.String("workGroup"),
// the properties below are optional
CatalogName: jsii.String("catalogName"),
OutputLocation: jsii.String("outputLocation"),
Region: jsii.String("region"),
},
Glue: &GlueTableReferenceProperty{
DatabaseName: jsii.String("databaseName"),
TableName: jsii.String("tableName"),
// the properties below are optional
Region: jsii.String("region"),
},
Snowflake: &SnowflakeTableReferenceProperty{
AccountIdentifier: jsii.String("accountIdentifier"),
DatabaseName: jsii.String("databaseName"),
SchemaName: jsii.String("schemaName"),
SecretArn: jsii.String("secretArn"),
TableName: jsii.String("tableName"),
TableSchema: &SnowflakeTableSchemaProperty{
V1: []interface{}{
&SnowflakeTableSchemaV1Property{
ColumnName: jsii.String("columnName"),
ColumnType: jsii.String("columnType"),
},
},
},
},
},
// the properties below are optional
AnalysisRules: []interface{}{
&AnalysisRuleProperty{
Policy: &ConfiguredTableAnalysisRulePolicyProperty{
V1: &ConfiguredTableAnalysisRulePolicyV1Property{
Aggregation: &AnalysisRuleAggregationProperty{
AggregateColumns: []interface{}{
&AggregateColumnProperty{
ColumnNames: []*string{
jsii.String("columnNames"),
},
Function: jsii.String("function"),
},
},
DimensionColumns: []*string{
jsii.String("dimensionColumns"),
},
JoinColumns: []*string{
jsii.String("joinColumns"),
},
OutputConstraints: []interface{}{
&AggregationConstraintProperty{
ColumnName: jsii.String("columnName"),
Minimum: jsii.Number(123),
Type: jsii.String("type"),
},
},
ScalarFunctions: []*string{
jsii.String("scalarFunctions"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedJoinOperators: []*string{
jsii.String("allowedJoinOperators"),
},
JoinRequired: jsii.String("joinRequired"),
},
Custom: &AnalysisRuleCustomProperty{
AllowedAnalyses: []*string{
jsii.String("allowedAnalyses"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedAnalysisProviders: []*string{
jsii.String("allowedAnalysisProviders"),
},
DifferentialPrivacy: &DifferentialPrivacyProperty{
Columns: []interface{}{
&DifferentialPrivacyColumnProperty{
Name: jsii.String("name"),
},
},
},
DisallowedOutputColumns: []*string{
jsii.String("disallowedOutputColumns"),
},
},
List: &AnalysisRuleListProperty{
JoinColumns: []*string{
jsii.String("joinColumns"),
},
ListColumns: []*string{
jsii.String("listColumns"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedJoinOperators: []*string{
jsii.String("allowedJoinOperators"),
},
},
},
},
Type: jsii.String("type"),
},
},
Description: jsii.String("description"),
SelectedAnalysisMethods: []*string{
jsii.String("selectedAnalysisMethods"),
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
type CfnConfiguredTable_AggregateColumnProperty ¶
type CfnConfiguredTable_AggregateColumnProperty struct {
// Column names in configured table of aggregate columns.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-aggregatecolumn.html#cfn-cleanrooms-configuredtable-aggregatecolumn-columnnames
//
ColumnNames *[]*string `field:"required" json:"columnNames" yaml:"columnNames"`
// Aggregation function that can be applied to aggregate column in query.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-aggregatecolumn.html#cfn-cleanrooms-configuredtable-aggregatecolumn-function
//
Function *string `field:"required" json:"function" yaml:"function"`
}
Column in configured table that can be used in aggregate function in query.
Example:
// 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"
aggregateColumnProperty := &AggregateColumnProperty{
ColumnNames: []*string{
jsii.String("columnNames"),
},
Function: jsii.String("function"),
}
type CfnConfiguredTable_AggregationConstraintProperty ¶
type CfnConfiguredTable_AggregationConstraintProperty struct {
// Column in aggregation constraint for which there must be a minimum number of distinct values in an output row for it to be in the query output.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-aggregationconstraint.html#cfn-cleanrooms-configuredtable-aggregationconstraint-columnname
//
ColumnName *string `field:"required" json:"columnName" yaml:"columnName"`
// The minimum number of distinct values that an output row must be an aggregation of.
//
// Minimum threshold of distinct values for a specified column that must exist in an output row for it to be in the query output.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-aggregationconstraint.html#cfn-cleanrooms-configuredtable-aggregationconstraint-minimum
//
Minimum *float64 `field:"required" json:"minimum" yaml:"minimum"`
// The type of aggregation the constraint allows.
//
// The only valid value is currently `COUNT_DISTINCT`.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-aggregationconstraint.html#cfn-cleanrooms-configuredtable-aggregationconstraint-type
//
Type *string `field:"required" json:"type" yaml:"type"`
}
Constraint on query output removing output rows that do not meet a minimum number of distinct values of a specified column.
Example:
// 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"
aggregationConstraintProperty := &AggregationConstraintProperty{
ColumnName: jsii.String("columnName"),
Minimum: jsii.Number(123),
Type: jsii.String("type"),
}
type CfnConfiguredTable_AnalysisRuleAggregationProperty ¶
type CfnConfiguredTable_AnalysisRuleAggregationProperty struct {
// The columns that query runners are allowed to use in aggregation queries.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisruleaggregation.html#cfn-cleanrooms-configuredtable-analysisruleaggregation-aggregatecolumns
//
AggregateColumns interface{} `field:"required" json:"aggregateColumns" yaml:"aggregateColumns"`
// The columns that query runners are allowed to select, group by, or filter by.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisruleaggregation.html#cfn-cleanrooms-configuredtable-analysisruleaggregation-dimensioncolumns
//
DimensionColumns *[]*string `field:"required" json:"dimensionColumns" yaml:"dimensionColumns"`
// Columns in configured table that can be used in join statements and/or as aggregate columns.
//
// They can never be outputted directly.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisruleaggregation.html#cfn-cleanrooms-configuredtable-analysisruleaggregation-joincolumns
//
JoinColumns *[]*string `field:"required" json:"joinColumns" yaml:"joinColumns"`
// Columns that must meet a specific threshold value (after an aggregation function is applied to it) for each output row to be returned.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisruleaggregation.html#cfn-cleanrooms-configuredtable-analysisruleaggregation-outputconstraints
//
OutputConstraints interface{} `field:"required" json:"outputConstraints" yaml:"outputConstraints"`
// Set of scalar functions that are allowed to be used on dimension columns and the output of aggregation of metrics.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisruleaggregation.html#cfn-cleanrooms-configuredtable-analysisruleaggregation-scalarfunctions
//
ScalarFunctions *[]*string `field:"required" json:"scalarFunctions" yaml:"scalarFunctions"`
// An indicator as to whether additional analyses (such as AWS Clean Rooms ML) can be applied to the output of the direct query.
//
// The `additionalAnalyses` parameter is currently supported for the list analysis rule ( `AnalysisRuleList` ) and the custom analysis rule ( `AnalysisRuleCustom` ).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisruleaggregation.html#cfn-cleanrooms-configuredtable-analysisruleaggregation-additionalanalyses
//
AdditionalAnalyses *string `field:"optional" json:"additionalAnalyses" yaml:"additionalAnalyses"`
// Which logical operators (if any) are to be used in an INNER JOIN match condition.
//
// Default is `AND` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisruleaggregation.html#cfn-cleanrooms-configuredtable-analysisruleaggregation-allowedjoinoperators
//
AllowedJoinOperators *[]*string `field:"optional" json:"allowedJoinOperators" yaml:"allowedJoinOperators"`
// Control that requires member who runs query to do a join with their configured table and/or other configured table in query.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisruleaggregation.html#cfn-cleanrooms-configuredtable-analysisruleaggregation-joinrequired
//
JoinRequired *string `field:"optional" json:"joinRequired" yaml:"joinRequired"`
}
A type of analysis rule that enables query structure and specified queries that produce aggregate statistics.
Example:
// 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"
analysisRuleAggregationProperty := &AnalysisRuleAggregationProperty{
AggregateColumns: []interface{}{
&AggregateColumnProperty{
ColumnNames: []*string{
jsii.String("columnNames"),
},
Function: jsii.String("function"),
},
},
DimensionColumns: []*string{
jsii.String("dimensionColumns"),
},
JoinColumns: []*string{
jsii.String("joinColumns"),
},
OutputConstraints: []interface{}{
&AggregationConstraintProperty{
ColumnName: jsii.String("columnName"),
Minimum: jsii.Number(123),
Type: jsii.String("type"),
},
},
ScalarFunctions: []*string{
jsii.String("scalarFunctions"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedJoinOperators: []*string{
jsii.String("allowedJoinOperators"),
},
JoinRequired: jsii.String("joinRequired"),
}
type CfnConfiguredTable_AnalysisRuleCustomProperty ¶ added in v2.95.0
type CfnConfiguredTable_AnalysisRuleCustomProperty struct {
// The ARN of the analysis templates that are allowed by the custom analysis rule.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisrulecustom.html#cfn-cleanrooms-configuredtable-analysisrulecustom-allowedanalyses
//
AllowedAnalyses *[]*string `field:"required" json:"allowedAnalyses" yaml:"allowedAnalyses"`
// An indicator as to whether additional analyses (such as AWS Clean Rooms ML) can be applied to the output of the direct query.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisrulecustom.html#cfn-cleanrooms-configuredtable-analysisrulecustom-additionalanalyses
//
AdditionalAnalyses *string `field:"optional" json:"additionalAnalyses" yaml:"additionalAnalyses"`
// The IDs of the AWS accounts that are allowed to query by the custom analysis rule.
//
// Required when `allowedAnalyses` is `ANY_QUERY` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisrulecustom.html#cfn-cleanrooms-configuredtable-analysisrulecustom-allowedanalysisproviders
//
AllowedAnalysisProviders *[]*string `field:"optional" json:"allowedAnalysisProviders" yaml:"allowedAnalysisProviders"`
// The differential privacy configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisrulecustom.html#cfn-cleanrooms-configuredtable-analysisrulecustom-differentialprivacy
//
DifferentialPrivacy interface{} `field:"optional" json:"differentialPrivacy" yaml:"differentialPrivacy"`
// A list of columns that aren't allowed to be shown in the query output.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisrulecustom.html#cfn-cleanrooms-configuredtable-analysisrulecustom-disallowedoutputcolumns
//
DisallowedOutputColumns *[]*string `field:"optional" json:"disallowedOutputColumns" yaml:"disallowedOutputColumns"`
}
A type of analysis rule that enables the table owner to approve custom SQL queries on their configured tables.
It supports differential privacy.
Example:
// 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"
analysisRuleCustomProperty := &AnalysisRuleCustomProperty{
AllowedAnalyses: []*string{
jsii.String("allowedAnalyses"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedAnalysisProviders: []*string{
jsii.String("allowedAnalysisProviders"),
},
DifferentialPrivacy: &DifferentialPrivacyProperty{
Columns: []interface{}{
&DifferentialPrivacyColumnProperty{
Name: jsii.String("name"),
},
},
},
DisallowedOutputColumns: []*string{
jsii.String("disallowedOutputColumns"),
},
}
type CfnConfiguredTable_AnalysisRuleListProperty ¶
type CfnConfiguredTable_AnalysisRuleListProperty struct {
// Columns that can be used to join a configured table with the table of the member who can query and other members' configured tables.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisrulelist.html#cfn-cleanrooms-configuredtable-analysisrulelist-joincolumns
//
JoinColumns *[]*string `field:"required" json:"joinColumns" yaml:"joinColumns"`
// Columns that can be listed in the output.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisrulelist.html#cfn-cleanrooms-configuredtable-analysisrulelist-listcolumns
//
ListColumns *[]*string `field:"required" json:"listColumns" yaml:"listColumns"`
// An indicator as to whether additional analyses (such as AWS Clean Rooms ML) can be applied to the output of the direct query.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisrulelist.html#cfn-cleanrooms-configuredtable-analysisrulelist-additionalanalyses
//
AdditionalAnalyses *string `field:"optional" json:"additionalAnalyses" yaml:"additionalAnalyses"`
// The logical operators (if any) that are to be used in an INNER JOIN match condition.
//
// Default is `AND` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisrulelist.html#cfn-cleanrooms-configuredtable-analysisrulelist-allowedjoinoperators
//
AllowedJoinOperators *[]*string `field:"optional" json:"allowedJoinOperators" yaml:"allowedJoinOperators"`
}
A type of analysis rule that enables row-level analysis.
Example:
// 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"
analysisRuleListProperty := &AnalysisRuleListProperty{
JoinColumns: []*string{
jsii.String("joinColumns"),
},
ListColumns: []*string{
jsii.String("listColumns"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedJoinOperators: []*string{
jsii.String("allowedJoinOperators"),
},
}
type CfnConfiguredTable_AnalysisRuleProperty ¶
type CfnConfiguredTable_AnalysisRuleProperty struct {
// A policy that describes the associated data usage limitations.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisrule.html#cfn-cleanrooms-configuredtable-analysisrule-policy
//
Policy interface{} `field:"required" json:"policy" yaml:"policy"`
// The type of analysis rule.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisrule.html#cfn-cleanrooms-configuredtable-analysisrule-type
//
Type *string `field:"required" json:"type" yaml:"type"`
}
A specification about how data from the configured table can be used in a query.
Example:
// 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"
analysisRuleProperty := &AnalysisRuleProperty{
Policy: &ConfiguredTableAnalysisRulePolicyProperty{
V1: &ConfiguredTableAnalysisRulePolicyV1Property{
Aggregation: &AnalysisRuleAggregationProperty{
AggregateColumns: []interface{}{
&AggregateColumnProperty{
ColumnNames: []*string{
jsii.String("columnNames"),
},
Function: jsii.String("function"),
},
},
DimensionColumns: []*string{
jsii.String("dimensionColumns"),
},
JoinColumns: []*string{
jsii.String("joinColumns"),
},
OutputConstraints: []interface{}{
&AggregationConstraintProperty{
ColumnName: jsii.String("columnName"),
Minimum: jsii.Number(123),
Type: jsii.String("type"),
},
},
ScalarFunctions: []*string{
jsii.String("scalarFunctions"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedJoinOperators: []*string{
jsii.String("allowedJoinOperators"),
},
JoinRequired: jsii.String("joinRequired"),
},
Custom: &AnalysisRuleCustomProperty{
AllowedAnalyses: []*string{
jsii.String("allowedAnalyses"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedAnalysisProviders: []*string{
jsii.String("allowedAnalysisProviders"),
},
DifferentialPrivacy: &DifferentialPrivacyProperty{
Columns: []interface{}{
&DifferentialPrivacyColumnProperty{
Name: jsii.String("name"),
},
},
},
DisallowedOutputColumns: []*string{
jsii.String("disallowedOutputColumns"),
},
},
List: &AnalysisRuleListProperty{
JoinColumns: []*string{
jsii.String("joinColumns"),
},
ListColumns: []*string{
jsii.String("listColumns"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedJoinOperators: []*string{
jsii.String("allowedJoinOperators"),
},
},
},
},
Type: jsii.String("type"),
}
type CfnConfiguredTable_AthenaTableReferenceProperty ¶ added in v2.174.1
type CfnConfiguredTable_AthenaTableReferenceProperty struct {
// The database name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-athenatablereference.html#cfn-cleanrooms-configuredtable-athenatablereference-databasename
//
DatabaseName *string `field:"required" json:"databaseName" yaml:"databaseName"`
// The table reference.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-athenatablereference.html#cfn-cleanrooms-configuredtable-athenatablereference-tablename
//
TableName *string `field:"required" json:"tableName" yaml:"tableName"`
// The workgroup of the Athena table reference.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-athenatablereference.html#cfn-cleanrooms-configuredtable-athenatablereference-workgroup
//
WorkGroup *string `field:"required" json:"workGroup" yaml:"workGroup"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-athenatablereference.html#cfn-cleanrooms-configuredtable-athenatablereference-catalogname
//
CatalogName *string `field:"optional" json:"catalogName" yaml:"catalogName"`
// The output location for the Athena table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-athenatablereference.html#cfn-cleanrooms-configuredtable-athenatablereference-outputlocation
//
OutputLocation *string `field:"optional" json:"outputLocation" yaml:"outputLocation"`
// The AWS Region where the Athena table is located.
//
// This parameter is required to uniquely identify and access tables across different Regions.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-athenatablereference.html#cfn-cleanrooms-configuredtable-athenatablereference-region
//
Region *string `field:"optional" json:"region" yaml:"region"`
}
A reference to a table within Athena.
Example:
// 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"
athenaTableReferenceProperty := &AthenaTableReferenceProperty{
DatabaseName: jsii.String("databaseName"),
TableName: jsii.String("tableName"),
WorkGroup: jsii.String("workGroup"),
// the properties below are optional
CatalogName: jsii.String("catalogName"),
OutputLocation: jsii.String("outputLocation"),
Region: jsii.String("region"),
}
type CfnConfiguredTable_ConfiguredTableAnalysisRulePolicyProperty ¶
type CfnConfiguredTable_ConfiguredTableAnalysisRulePolicyProperty struct {
// Controls on the query specifications that can be run on a configured table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-configuredtableanalysisrulepolicy.html#cfn-cleanrooms-configuredtable-configuredtableanalysisrulepolicy-v1
//
V1 interface{} `field:"required" json:"v1" yaml:"v1"`
}
Controls on the query specifications that can be run on a configured table.
Example:
// 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"
configuredTableAnalysisRulePolicyProperty := &ConfiguredTableAnalysisRulePolicyProperty{
V1: &ConfiguredTableAnalysisRulePolicyV1Property{
Aggregation: &AnalysisRuleAggregationProperty{
AggregateColumns: []interface{}{
&AggregateColumnProperty{
ColumnNames: []*string{
jsii.String("columnNames"),
},
Function: jsii.String("function"),
},
},
DimensionColumns: []*string{
jsii.String("dimensionColumns"),
},
JoinColumns: []*string{
jsii.String("joinColumns"),
},
OutputConstraints: []interface{}{
&AggregationConstraintProperty{
ColumnName: jsii.String("columnName"),
Minimum: jsii.Number(123),
Type: jsii.String("type"),
},
},
ScalarFunctions: []*string{
jsii.String("scalarFunctions"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedJoinOperators: []*string{
jsii.String("allowedJoinOperators"),
},
JoinRequired: jsii.String("joinRequired"),
},
Custom: &AnalysisRuleCustomProperty{
AllowedAnalyses: []*string{
jsii.String("allowedAnalyses"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedAnalysisProviders: []*string{
jsii.String("allowedAnalysisProviders"),
},
DifferentialPrivacy: &DifferentialPrivacyProperty{
Columns: []interface{}{
&DifferentialPrivacyColumnProperty{
Name: jsii.String("name"),
},
},
},
DisallowedOutputColumns: []*string{
jsii.String("disallowedOutputColumns"),
},
},
List: &AnalysisRuleListProperty{
JoinColumns: []*string{
jsii.String("joinColumns"),
},
ListColumns: []*string{
jsii.String("listColumns"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedJoinOperators: []*string{
jsii.String("allowedJoinOperators"),
},
},
},
}
type CfnConfiguredTable_ConfiguredTableAnalysisRulePolicyV1Property ¶
type CfnConfiguredTable_ConfiguredTableAnalysisRulePolicyV1Property struct {
// Analysis rule type that enables only aggregation queries on a configured table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-configuredtableanalysisrulepolicyv1.html#cfn-cleanrooms-configuredtable-configuredtableanalysisrulepolicyv1-aggregation
//
Aggregation interface{} `field:"optional" json:"aggregation" yaml:"aggregation"`
// Analysis rule type that enables custom SQL queries on a configured table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-configuredtableanalysisrulepolicyv1.html#cfn-cleanrooms-configuredtable-configuredtableanalysisrulepolicyv1-custom
//
Custom interface{} `field:"optional" json:"custom" yaml:"custom"`
// Analysis rule type that enables only list queries on a configured table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-configuredtableanalysisrulepolicyv1.html#cfn-cleanrooms-configuredtable-configuredtableanalysisrulepolicyv1-list
//
List interface{} `field:"optional" json:"list" yaml:"list"`
}
Controls on the query specifications that can be run on a configured table.
Example:
// 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"
configuredTableAnalysisRulePolicyV1Property := &ConfiguredTableAnalysisRulePolicyV1Property{
Aggregation: &AnalysisRuleAggregationProperty{
AggregateColumns: []interface{}{
&AggregateColumnProperty{
ColumnNames: []*string{
jsii.String("columnNames"),
},
Function: jsii.String("function"),
},
},
DimensionColumns: []*string{
jsii.String("dimensionColumns"),
},
JoinColumns: []*string{
jsii.String("joinColumns"),
},
OutputConstraints: []interface{}{
&AggregationConstraintProperty{
ColumnName: jsii.String("columnName"),
Minimum: jsii.Number(123),
Type: jsii.String("type"),
},
},
ScalarFunctions: []*string{
jsii.String("scalarFunctions"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedJoinOperators: []*string{
jsii.String("allowedJoinOperators"),
},
JoinRequired: jsii.String("joinRequired"),
},
Custom: &AnalysisRuleCustomProperty{
AllowedAnalyses: []*string{
jsii.String("allowedAnalyses"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedAnalysisProviders: []*string{
jsii.String("allowedAnalysisProviders"),
},
DifferentialPrivacy: &DifferentialPrivacyProperty{
Columns: []interface{}{
&DifferentialPrivacyColumnProperty{
Name: jsii.String("name"),
},
},
},
DisallowedOutputColumns: []*string{
jsii.String("disallowedOutputColumns"),
},
},
List: &AnalysisRuleListProperty{
JoinColumns: []*string{
jsii.String("joinColumns"),
},
ListColumns: []*string{
jsii.String("listColumns"),
},
// the properties below are optional
AdditionalAnalyses: jsii.String("additionalAnalyses"),
AllowedJoinOperators: []*string{
jsii.String("allowedJoinOperators"),
},
},
}
type CfnConfiguredTable_DifferentialPrivacyColumnProperty ¶ added in v2.135.0
type CfnConfiguredTable_DifferentialPrivacyColumnProperty struct {
// The name of the column, such as user_id, that contains the unique identifier of your users, whose privacy you want to protect.
//
// If you want to turn on differential privacy for two or more tables in a collaboration, you must configure the same column as the user identifier column in both analysis rules.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-differentialprivacycolumn.html#cfn-cleanrooms-configuredtable-differentialprivacycolumn-name
//
Name *string `field:"required" json:"name" yaml:"name"`
}
Specifies the name of the column that contains the unique identifier of your users, whose privacy you want to protect.
Example:
// 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"
differentialPrivacyColumnProperty := &DifferentialPrivacyColumnProperty{
Name: jsii.String("name"),
}
type CfnConfiguredTable_DifferentialPrivacyProperty ¶ added in v2.135.0
type CfnConfiguredTable_DifferentialPrivacyProperty struct {
// The name of the column, such as user_id, that contains the unique identifier of your users, whose privacy you want to protect.
//
// If you want to turn on differential privacy for two or more tables in a collaboration, you must configure the same column as the user identifier column in both analysis rules.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-differentialprivacy.html#cfn-cleanrooms-configuredtable-differentialprivacy-columns
//
Columns interface{} `field:"required" json:"columns" yaml:"columns"`
}
The analysis method allowed for the configured tables.
`DIRECT_QUERY` allows SQL queries to be run directly on this table.
`DIRECT_JOB` allows PySpark jobs to be run directly on this table.
`MULTIPLE` allows both SQL queries and PySpark jobs to be run directly on this table.
Example:
// 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"
differentialPrivacyProperty := &DifferentialPrivacyProperty{
Columns: []interface{}{
&DifferentialPrivacyColumnProperty{
Name: jsii.String("name"),
},
},
}
type CfnConfiguredTable_GlueTableReferenceProperty ¶
type CfnConfiguredTable_GlueTableReferenceProperty struct {
// The name of the database the AWS Glue table belongs to.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-gluetablereference.html#cfn-cleanrooms-configuredtable-gluetablereference-databasename
//
DatabaseName *string `field:"required" json:"databaseName" yaml:"databaseName"`
// The name of the AWS Glue table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-gluetablereference.html#cfn-cleanrooms-configuredtable-gluetablereference-tablename
//
TableName *string `field:"required" json:"tableName" yaml:"tableName"`
// The AWS Region where the AWS Glue table is located.
//
// This parameter is required to uniquely identify and access tables across different Regions.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-gluetablereference.html#cfn-cleanrooms-configuredtable-gluetablereference-region
//
Region *string `field:"optional" json:"region" yaml:"region"`
}
A reference to a table within an AWS Glue data catalog.
Example:
// 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"
glueTableReferenceProperty := &GlueTableReferenceProperty{
DatabaseName: jsii.String("databaseName"),
TableName: jsii.String("tableName"),
// the properties below are optional
Region: jsii.String("region"),
}
type CfnConfiguredTable_SnowflakeTableReferenceProperty ¶ added in v2.174.1
type CfnConfiguredTable_SnowflakeTableReferenceProperty struct {
// The account identifier for the Snowflake table reference.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-snowflaketablereference.html#cfn-cleanrooms-configuredtable-snowflaketablereference-accountidentifier
//
AccountIdentifier *string `field:"required" json:"accountIdentifier" yaml:"accountIdentifier"`
// The name of the database the Snowflake table belongs to.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-snowflaketablereference.html#cfn-cleanrooms-configuredtable-snowflaketablereference-databasename
//
DatabaseName *string `field:"required" json:"databaseName" yaml:"databaseName"`
// The schema name of the Snowflake table reference.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-snowflaketablereference.html#cfn-cleanrooms-configuredtable-snowflaketablereference-schemaname
//
SchemaName *string `field:"required" json:"schemaName" yaml:"schemaName"`
// The secret ARN of the Snowflake table reference.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-snowflaketablereference.html#cfn-cleanrooms-configuredtable-snowflaketablereference-secretarn
//
SecretArn *string `field:"required" json:"secretArn" yaml:"secretArn"`
// The name of the Snowflake table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-snowflaketablereference.html#cfn-cleanrooms-configuredtable-snowflaketablereference-tablename
//
TableName *string `field:"required" json:"tableName" yaml:"tableName"`
// The schema of the Snowflake table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-snowflaketablereference.html#cfn-cleanrooms-configuredtable-snowflaketablereference-tableschema
//
TableSchema interface{} `field:"required" json:"tableSchema" yaml:"tableSchema"`
}
A reference to a table within Snowflake.
Example:
// 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"
snowflakeTableReferenceProperty := &SnowflakeTableReferenceProperty{
AccountIdentifier: jsii.String("accountIdentifier"),
DatabaseName: jsii.String("databaseName"),
SchemaName: jsii.String("schemaName"),
SecretArn: jsii.String("secretArn"),
TableName: jsii.String("tableName"),
TableSchema: &SnowflakeTableSchemaProperty{
V1: []interface{}{
&SnowflakeTableSchemaV1Property{
ColumnName: jsii.String("columnName"),
ColumnType: jsii.String("columnType"),
},
},
},
}
type CfnConfiguredTable_SnowflakeTableSchemaProperty ¶ added in v2.174.1
type CfnConfiguredTable_SnowflakeTableSchemaProperty struct {
// The schema of a Snowflake table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-snowflaketableschema.html#cfn-cleanrooms-configuredtable-snowflaketableschema-v1
//
V1 interface{} `field:"required" json:"v1" yaml:"v1"`
}
The schema of a Snowflake table.
Example:
// 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"
snowflakeTableSchemaProperty := &SnowflakeTableSchemaProperty{
V1: []interface{}{
&SnowflakeTableSchemaV1Property{
ColumnName: jsii.String("columnName"),
ColumnType: jsii.String("columnType"),
},
},
}
type CfnConfiguredTable_SnowflakeTableSchemaV1Property ¶ added in v2.174.1
type CfnConfiguredTable_SnowflakeTableSchemaV1Property struct {
// The column name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-snowflaketableschemav1.html#cfn-cleanrooms-configuredtable-snowflaketableschemav1-columnname
//
ColumnName *string `field:"required" json:"columnName" yaml:"columnName"`
// The column's data type.
//
// Supported data types: `ARRAY` , `BIGINT` , `BOOLEAN` , `CHAR` , `DATE` , `DECIMAL` , `DOUBLE` , `DOUBLE PRECISION` , `FLOAT` , `FLOAT4` , `INT` , `INTEGER` , `MAP` , `NUMERIC` , `NUMBER` , `REAL` , `SMALLINT` , `STRING` , `TIMESTAMP` , `TIMESTAMP_LTZ` , `TIMESTAMP_NTZ` , `DATETIME` , `TINYINT` , `VARCHAR` , `TEXT` , `CHARACTER` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-snowflaketableschemav1.html#cfn-cleanrooms-configuredtable-snowflaketableschemav1-columntype
//
ColumnType *string `field:"required" json:"columnType" yaml:"columnType"`
}
The Snowflake table schema.
Example:
// 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"
snowflakeTableSchemaV1Property := &SnowflakeTableSchemaV1Property{
ColumnName: jsii.String("columnName"),
ColumnType: jsii.String("columnType"),
}
type CfnConfiguredTable_TableReferenceProperty ¶
type CfnConfiguredTable_TableReferenceProperty struct {
// If present, a reference to the Athena table referred to by this table reference.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-tablereference.html#cfn-cleanrooms-configuredtable-tablereference-athena
//
Athena interface{} `field:"optional" json:"athena" yaml:"athena"`
// If present, a reference to the AWS Glue table referred to by this table reference.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-tablereference.html#cfn-cleanrooms-configuredtable-tablereference-glue
//
Glue interface{} `field:"optional" json:"glue" yaml:"glue"`
// If present, a reference to the Snowflake table referred to by this table reference.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-tablereference.html#cfn-cleanrooms-configuredtable-tablereference-snowflake
//
Snowflake interface{} `field:"optional" json:"snowflake" yaml:"snowflake"`
}
A pointer to the dataset that underlies this table.
Example:
// 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"
tableReferenceProperty := &TableReferenceProperty{
Athena: &AthenaTableReferenceProperty{
DatabaseName: jsii.String("databaseName"),
TableName: jsii.String("tableName"),
WorkGroup: jsii.String("workGroup"),
// the properties below are optional
CatalogName: jsii.String("catalogName"),
OutputLocation: jsii.String("outputLocation"),
Region: jsii.String("region"),
},
Glue: &GlueTableReferenceProperty{
DatabaseName: jsii.String("databaseName"),
TableName: jsii.String("tableName"),
// the properties below are optional
Region: jsii.String("region"),
},
Snowflake: &SnowflakeTableReferenceProperty{
AccountIdentifier: jsii.String("accountIdentifier"),
DatabaseName: jsii.String("databaseName"),
SchemaName: jsii.String("schemaName"),
SecretArn: jsii.String("secretArn"),
TableName: jsii.String("tableName"),
TableSchema: &SnowflakeTableSchemaProperty{
V1: []interface{}{
&SnowflakeTableSchemaV1Property{
ColumnName: jsii.String("columnName"),
ColumnType: jsii.String("columnType"),
},
},
},
},
}
type CfnIdMappingTable ¶ added in v2.154.0
type CfnIdMappingTable interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawscleanrooms.IIdMappingTableRef
awscdk.ITaggableV2
// The Amazon Resource Name (ARN) of the ID mapping table.
AttrArn() *string
// The Amazon Resource Name (ARN) of the collaboration that contains this ID mapping table.
AttrCollaborationArn() *string
// The unique identifier of the collaboration that contains this ID mapping table.
AttrCollaborationIdentifier() *string
// The unique identifier of the ID mapping table identifier that you want to retrieve.
AttrIdMappingTableIdentifier() *string
AttrInputReferenceProperties() awscdk.IResolvable
// The Amazon Resource Name (ARN) of the membership resource for the ID mapping table.
AttrMembershipArn() *string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnPropertyNames() *map[string]*string
// AWS resource type.
CfnResourceType() *string
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
// The description of the ID mapping table.
Description() *string
SetDescription(val *string)
Env() *interfaces.ResourceEnvironment
// A reference to a IdMappingTable resource.
IdMappingTableRef() *interfacesawscleanrooms.IdMappingTableReference
// The input reference configuration for the ID mapping table.
InputReferenceConfig() interface{}
SetInputReferenceConfig(val interface{})
// The Amazon Resource Name (ARN) of the AWS KMS key.
KmsKeyArn() *string
SetKmsKeyArn(val *string)
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The unique identifier of the membership resource for the ID mapping table.
MembershipIdentifier() *string
SetMembershipIdentifier(val *string)
// The name of the ID mapping table.
Name() *string
SetName(val *string)
// The tree node.
Node() constructs.Node
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// An optional label that you can assign to a resource when you create it.
Tags() *[]*awscdk.CfnTag
SetTags(val *[]*awscdk.CfnTag)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
CfnPropertyName(cdkPropertyName *string) *string
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
// Applies one or more mixins to this construct.
//
// Mixins are applied in order. The list of constructs is captured at the
// start of the call, so constructs added by a mixin will not be visited.
// Use multiple `with()` calls if subsequent mixins should apply to added
// constructs.
With(mixins ...constructs.IMixin) constructs.IConstruct
}
Describes information about the ID mapping table.
Example:
// 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"
cfnIdMappingTable := awscdk.Aws_cleanrooms.NewCfnIdMappingTable(this, jsii.String("MyCfnIdMappingTable"), &CfnIdMappingTableProps{
InputReferenceConfig: &IdMappingTableInputReferenceConfigProperty{
InputReferenceArn: jsii.String("inputReferenceArn"),
ManageResourcePolicies: jsii.Boolean(false),
},
MembershipIdentifier: jsii.String("membershipIdentifier"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
KmsKeyArn: jsii.String("kmsKeyArn"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
})
func NewCfnIdMappingTable ¶ added in v2.154.0
func NewCfnIdMappingTable(scope constructs.Construct, id *string, props *CfnIdMappingTableProps) CfnIdMappingTable
Create a new `AWS::CleanRooms::IdMappingTable`.
type CfnIdMappingTableProps ¶ added in v2.154.0
type CfnIdMappingTableProps struct {
// The input reference configuration for the ID mapping table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idmappingtable.html#cfn-cleanrooms-idmappingtable-inputreferenceconfig
//
InputReferenceConfig interface{} `field:"required" json:"inputReferenceConfig" yaml:"inputReferenceConfig"`
// The unique identifier of the membership resource for the ID mapping table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idmappingtable.html#cfn-cleanrooms-idmappingtable-membershipidentifier
//
MembershipIdentifier *string `field:"required" json:"membershipIdentifier" yaml:"membershipIdentifier"`
// The name of the ID mapping table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idmappingtable.html#cfn-cleanrooms-idmappingtable-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The description of the ID mapping table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idmappingtable.html#cfn-cleanrooms-idmappingtable-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The Amazon Resource Name (ARN) of the AWS KMS key.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idmappingtable.html#cfn-cleanrooms-idmappingtable-kmskeyarn
//
KmsKeyArn *string `field:"optional" json:"kmsKeyArn" yaml:"kmsKeyArn"`
// An optional label that you can assign to a resource when you create it.
//
// Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idmappingtable.html#cfn-cleanrooms-idmappingtable-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnIdMappingTable`.
Example:
// 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"
cfnIdMappingTableProps := &CfnIdMappingTableProps{
InputReferenceConfig: &IdMappingTableInputReferenceConfigProperty{
InputReferenceArn: jsii.String("inputReferenceArn"),
ManageResourcePolicies: jsii.Boolean(false),
},
MembershipIdentifier: jsii.String("membershipIdentifier"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
KmsKeyArn: jsii.String("kmsKeyArn"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
type CfnIdMappingTable_IdMappingTableInputReferenceConfigProperty ¶ added in v2.154.0
type CfnIdMappingTable_IdMappingTableInputReferenceConfigProperty struct {
// The Amazon Resource Name (ARN) of the referenced resource in AWS Entity Resolution .
//
// Valid values are ID mapping workflow ARNs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-idmappingtable-idmappingtableinputreferenceconfig.html#cfn-cleanrooms-idmappingtable-idmappingtableinputreferenceconfig-inputreferencearn
//
InputReferenceArn *string `field:"required" json:"inputReferenceArn" yaml:"inputReferenceArn"`
// When `TRUE` , AWS Clean Rooms manages permissions for the ID mapping table resource.
//
// When `FALSE` , the resource owner manages permissions for the ID mapping table resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-idmappingtable-idmappingtableinputreferenceconfig.html#cfn-cleanrooms-idmappingtable-idmappingtableinputreferenceconfig-manageresourcepolicies
//
ManageResourcePolicies interface{} `field:"required" json:"manageResourcePolicies" yaml:"manageResourcePolicies"`
}
Provides the input reference configuration for the ID mapping table.
Example:
// 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"
idMappingTableInputReferenceConfigProperty := &IdMappingTableInputReferenceConfigProperty{
InputReferenceArn: jsii.String("inputReferenceArn"),
ManageResourcePolicies: jsii.Boolean(false),
}
type CfnIdMappingTable_IdMappingTableInputReferencePropertiesProperty ¶ added in v2.154.0
type CfnIdMappingTable_IdMappingTableInputReferencePropertiesProperty struct {
// The input source of the ID mapping table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-idmappingtable-idmappingtableinputreferenceproperties.html#cfn-cleanrooms-idmappingtable-idmappingtableinputreferenceproperties-idmappingtableinputsource
//
IdMappingTableInputSource interface{} `field:"required" json:"idMappingTableInputSource" yaml:"idMappingTableInputSource"`
}
The input reference properties for the ID mapping table.
Example:
// 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"
idMappingTableInputReferencePropertiesProperty := &IdMappingTableInputReferencePropertiesProperty{
IdMappingTableInputSource: []interface{}{
&IdMappingTableInputSourceProperty{
IdNamespaceAssociationId: jsii.String("idNamespaceAssociationId"),
Type: jsii.String("type"),
},
},
}
type CfnIdMappingTable_IdMappingTableInputSourceProperty ¶ added in v2.154.0
type CfnIdMappingTable_IdMappingTableInputSourceProperty struct {
// The unique identifier of the ID namespace association.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-idmappingtable-idmappingtableinputsource.html#cfn-cleanrooms-idmappingtable-idmappingtableinputsource-idnamespaceassociationid
//
IdNamespaceAssociationId *string `field:"required" json:"idNamespaceAssociationId" yaml:"idNamespaceAssociationId"`
// The type of the input source of the ID mapping table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-idmappingtable-idmappingtableinputsource.html#cfn-cleanrooms-idmappingtable-idmappingtableinputsource-type
//
Type *string `field:"required" json:"type" yaml:"type"`
}
The input source of the ID mapping table.
Example:
// 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"
idMappingTableInputSourceProperty := &IdMappingTableInputSourceProperty{
IdNamespaceAssociationId: jsii.String("idNamespaceAssociationId"),
Type: jsii.String("type"),
}
type CfnIdNamespaceAssociation ¶ added in v2.154.0
type CfnIdNamespaceAssociation interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawscleanrooms.IIdNamespaceAssociationRef
awscdk.ITaggableV2
// The Amazon Resource Name (ARN) of the ID namespace association.
AttrArn() *string
// The Amazon Resource Name (ARN) of the collaboration that contains this ID namespace association.
AttrCollaborationArn() *string
// The unique identifier of the collaboration that contains this ID namespace association.
AttrCollaborationIdentifier() *string
// The unique identifier of the ID namespace association that you want to retrieve.
AttrIdNamespaceAssociationIdentifier() *string
AttrInputReferenceProperties() awscdk.IResolvable
// The Amazon Resource Name (ARN) of the membership resource for this ID namespace association.
AttrMembershipArn() *string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnPropertyNames() *map[string]*string
// AWS resource type.
CfnResourceType() *string
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
// The description of the ID namespace association.
Description() *string
SetDescription(val *string)
Env() *interfaces.ResourceEnvironment
// The configuration settings for the ID mapping table.
IdMappingConfig() interface{}
SetIdMappingConfig(val interface{})
// A reference to a IdNamespaceAssociation resource.
IdNamespaceAssociationRef() *interfacesawscleanrooms.IdNamespaceAssociationReference
// The input reference configuration for the ID namespace association.
InputReferenceConfig() interface{}
SetInputReferenceConfig(val interface{})
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The unique identifier of the membership that contains the ID namespace association.
MembershipIdentifier() *string
SetMembershipIdentifier(val *string)
// The name of this ID namespace association.
Name() *string
SetName(val *string)
// The tree node.
Node() constructs.Node
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// An optional label that you can assign to a resource when you create it.
Tags() *[]*awscdk.CfnTag
SetTags(val *[]*awscdk.CfnTag)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
CfnPropertyName(cdkPropertyName *string) *string
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
// Applies one or more mixins to this construct.
//
// Mixins are applied in order. The list of constructs is captured at the
// start of the call, so constructs added by a mixin will not be visited.
// Use multiple `with()` calls if subsequent mixins should apply to added
// constructs.
With(mixins ...constructs.IMixin) constructs.IConstruct
}
Provides information to create the ID namespace association.
Example:
// 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"
cfnIdNamespaceAssociation := awscdk.Aws_cleanrooms.NewCfnIdNamespaceAssociation(this, jsii.String("MyCfnIdNamespaceAssociation"), &CfnIdNamespaceAssociationProps{
InputReferenceConfig: &IdNamespaceAssociationInputReferenceConfigProperty{
InputReferenceArn: jsii.String("inputReferenceArn"),
ManageResourcePolicies: jsii.Boolean(false),
},
MembershipIdentifier: jsii.String("membershipIdentifier"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
IdMappingConfig: &IdMappingConfigProperty{
AllowUseAsDimensionColumn: jsii.Boolean(false),
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
})
func NewCfnIdNamespaceAssociation ¶ added in v2.154.0
func NewCfnIdNamespaceAssociation(scope constructs.Construct, id *string, props *CfnIdNamespaceAssociationProps) CfnIdNamespaceAssociation
Create a new `AWS::CleanRooms::IdNamespaceAssociation`.
type CfnIdNamespaceAssociationProps ¶ added in v2.154.0
type CfnIdNamespaceAssociationProps struct {
// The input reference configuration for the ID namespace association.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idnamespaceassociation.html#cfn-cleanrooms-idnamespaceassociation-inputreferenceconfig
//
InputReferenceConfig interface{} `field:"required" json:"inputReferenceConfig" yaml:"inputReferenceConfig"`
// The unique identifier of the membership that contains the ID namespace association.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idnamespaceassociation.html#cfn-cleanrooms-idnamespaceassociation-membershipidentifier
//
MembershipIdentifier *string `field:"required" json:"membershipIdentifier" yaml:"membershipIdentifier"`
// The name of this ID namespace association.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idnamespaceassociation.html#cfn-cleanrooms-idnamespaceassociation-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The description of the ID namespace association.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idnamespaceassociation.html#cfn-cleanrooms-idnamespaceassociation-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The configuration settings for the ID mapping table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idnamespaceassociation.html#cfn-cleanrooms-idnamespaceassociation-idmappingconfig
//
IdMappingConfig interface{} `field:"optional" json:"idMappingConfig" yaml:"idMappingConfig"`
// An optional label that you can assign to a resource when you create it.
//
// Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idnamespaceassociation.html#cfn-cleanrooms-idnamespaceassociation-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnIdNamespaceAssociation`.
Example:
// 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"
cfnIdNamespaceAssociationProps := &CfnIdNamespaceAssociationProps{
InputReferenceConfig: &IdNamespaceAssociationInputReferenceConfigProperty{
InputReferenceArn: jsii.String("inputReferenceArn"),
ManageResourcePolicies: jsii.Boolean(false),
},
MembershipIdentifier: jsii.String("membershipIdentifier"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
IdMappingConfig: &IdMappingConfigProperty{
AllowUseAsDimensionColumn: jsii.Boolean(false),
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
type CfnIdNamespaceAssociation_IdMappingConfigProperty ¶ added in v2.154.0
type CfnIdNamespaceAssociation_IdMappingConfigProperty struct {
// An indicator as to whether you can use your column as a dimension column in the ID mapping table ( `TRUE` ) or not ( `FALSE` ).
//
// Default is `FALSE` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-idnamespaceassociation-idmappingconfig.html#cfn-cleanrooms-idnamespaceassociation-idmappingconfig-allowuseasdimensioncolumn
//
AllowUseAsDimensionColumn interface{} `field:"required" json:"allowUseAsDimensionColumn" yaml:"allowUseAsDimensionColumn"`
}
The configuration settings for the ID mapping table.
Example:
// 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"
idMappingConfigProperty := &IdMappingConfigProperty{
AllowUseAsDimensionColumn: jsii.Boolean(false),
}
type CfnIdNamespaceAssociation_IdNamespaceAssociationInputReferenceConfigProperty ¶ added in v2.154.0
type CfnIdNamespaceAssociation_IdNamespaceAssociationInputReferenceConfigProperty struct {
// The Amazon Resource Name (ARN) of the AWS Entity Resolution resource that is being associated to the collaboration.
//
// Valid resource ARNs are from the ID namespaces that you own.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-idnamespaceassociation-idnamespaceassociationinputreferenceconfig.html#cfn-cleanrooms-idnamespaceassociation-idnamespaceassociationinputreferenceconfig-inputreferencearn
//
InputReferenceArn *string `field:"required" json:"inputReferenceArn" yaml:"inputReferenceArn"`
// When `TRUE` , AWS Clean Rooms manages permissions for the ID namespace association resource.
//
// When `FALSE` , the resource owner manages permissions for the ID namespace association resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-idnamespaceassociation-idnamespaceassociationinputreferenceconfig.html#cfn-cleanrooms-idnamespaceassociation-idnamespaceassociationinputreferenceconfig-manageresourcepolicies
//
ManageResourcePolicies interface{} `field:"required" json:"manageResourcePolicies" yaml:"manageResourcePolicies"`
}
Provides the information for the ID namespace association input reference configuration.
Example:
// 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"
idNamespaceAssociationInputReferenceConfigProperty := &IdNamespaceAssociationInputReferenceConfigProperty{
InputReferenceArn: jsii.String("inputReferenceArn"),
ManageResourcePolicies: jsii.Boolean(false),
}
type CfnIdNamespaceAssociation_IdNamespaceAssociationInputReferencePropertiesProperty ¶ added in v2.154.0
type CfnIdNamespaceAssociation_IdNamespaceAssociationInputReferencePropertiesProperty struct {
// Defines how ID mapping workflows are supported for this ID namespace association.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-idnamespaceassociation-idnamespaceassociationinputreferenceproperties.html#cfn-cleanrooms-idnamespaceassociation-idnamespaceassociationinputreferenceproperties-idmappingworkflowssupported
//
IdMappingWorkflowsSupported interface{} `field:"optional" json:"idMappingWorkflowsSupported" yaml:"idMappingWorkflowsSupported"`
// The ID namespace type for this ID namespace association.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-idnamespaceassociation-idnamespaceassociationinputreferenceproperties.html#cfn-cleanrooms-idnamespaceassociation-idnamespaceassociationinputreferenceproperties-idnamespacetype
//
IdNamespaceType *string `field:"optional" json:"idNamespaceType" yaml:"idNamespaceType"`
}
Provides the information for the ID namespace association input reference properties.
Example:
// 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"
var idMappingWorkflowsSupported interface{}
idNamespaceAssociationInputReferencePropertiesProperty := &IdNamespaceAssociationInputReferencePropertiesProperty{
IdMappingWorkflowsSupported: []interface{}{
idMappingWorkflowsSupported,
},
IdNamespaceType: jsii.String("idNamespaceType"),
}
type CfnMembership ¶
type CfnMembership interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawscleanrooms.IMembershipRef
awscdk.ITaggableV2
// Returns the Amazon Resource Name (ARN) of the specified membership.
//
// Example: `arn:aws:cleanrooms:us-east-1:111122223333:membership/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.
AttrArn() *string
// Returns the Amazon Resource Name (ARN) of the specified collaboration.
//
// Example: `arn:aws:cleanrooms:us-east-1:111122223333:collaboration/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.
AttrCollaborationArn() *string
// Returns the unique identifier of the specified collaboration creator account.
//
// Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.
AttrCollaborationCreatorAccountId() *string
// Returns the unique identifier of the specified membership.
//
// Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE22222`.
AttrMembershipIdentifier() *string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnPropertyNames() *map[string]*string
// AWS resource type.
CfnResourceType() *string
// The unique ID for the associated collaboration.
CollaborationIdentifier() *string
SetCollaborationIdentifier(val *string)
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
// The default job result configuration for the membership.
DefaultJobResultConfiguration() interface{}
SetDefaultJobResultConfiguration(val interface{})
// The default protected query result configuration as specified by the member who can receive results.
DefaultResultConfiguration() interface{}
SetDefaultResultConfiguration(val interface{})
Env() *interfaces.ResourceEnvironment
IsMetricsEnabled() interface{}
SetIsMetricsEnabled(val interface{})
// An indicator as to whether job logging has been enabled or disabled for the collaboration.
JobLogStatus() *string
SetJobLogStatus(val *string)
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// A reference to a Membership resource.
MembershipRef() *interfacesawscleanrooms.MembershipReference
// The tree node.
Node() constructs.Node
// The payment responsibilities accepted by the collaboration member.
PaymentConfiguration() interface{}
SetPaymentConfiguration(val interface{})
// An indicator as to whether query logging has been enabled or disabled for the membership.
QueryLogStatus() *string
SetQueryLogStatus(val *string)
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// An optional label that you can assign to a resource when you create it.
Tags() *[]*awscdk.CfnTag
SetTags(val *[]*awscdk.CfnTag)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
CfnPropertyName(cdkPropertyName *string) *string
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
// Applies one or more mixins to this construct.
//
// Mixins are applied in order. The list of constructs is captured at the
// start of the call, so constructs added by a mixin will not be visited.
// Use multiple `with()` calls if subsequent mixins should apply to added
// constructs.
With(mixins ...constructs.IMixin) constructs.IConstruct
}
Creates a membership for a specific collaboration identifier and joins the collaboration.
Example:
// 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"
cfnMembership := awscdk.Aws_cleanrooms.NewCfnMembership(this, jsii.String("MyCfnMembership"), &CfnMembershipProps{
CollaborationIdentifier: jsii.String("collaborationIdentifier"),
QueryLogStatus: jsii.String("queryLogStatus"),
// the properties below are optional
DefaultJobResultConfiguration: &MembershipProtectedJobResultConfigurationProperty{
OutputConfiguration: &MembershipProtectedJobOutputConfigurationProperty{
S3: &ProtectedJobS3OutputConfigurationInputProperty{
Bucket: jsii.String("bucket"),
// the properties below are optional
KeyPrefix: jsii.String("keyPrefix"),
},
},
RoleArn: jsii.String("roleArn"),
},
DefaultResultConfiguration: &MembershipProtectedQueryResultConfigurationProperty{
OutputConfiguration: &MembershipProtectedQueryOutputConfigurationProperty{
S3: &ProtectedQueryS3OutputConfigurationProperty{
Bucket: jsii.String("bucket"),
ResultFormat: jsii.String("resultFormat"),
// the properties below are optional
KeyPrefix: jsii.String("keyPrefix"),
SingleFileOutput: jsii.Boolean(false),
},
},
// the properties below are optional
RoleArn: jsii.String("roleArn"),
},
IsMetricsEnabled: jsii.Boolean(false),
JobLogStatus: jsii.String("jobLogStatus"),
PaymentConfiguration: &MembershipPaymentConfigurationProperty{
QueryCompute: &MembershipQueryComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
// the properties below are optional
JobCompute: &MembershipJobComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
MachineLearning: &MembershipMLPaymentConfigProperty{
ModelInference: &MembershipModelInferencePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
ModelTraining: &MembershipModelTrainingPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
SyntheticDataGeneration: &MembershipSyntheticDataGenerationPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
},
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
})
func NewCfnMembership ¶
func NewCfnMembership(scope constructs.Construct, id *string, props *CfnMembershipProps) CfnMembership
Create a new `AWS::CleanRooms::Membership`.
type CfnMembershipProps ¶
type CfnMembershipProps struct {
// The unique ID for the associated collaboration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-membership.html#cfn-cleanrooms-membership-collaborationidentifier
//
CollaborationIdentifier *string `field:"required" json:"collaborationIdentifier" yaml:"collaborationIdentifier"`
// An indicator as to whether query logging has been enabled or disabled for the membership.
//
// When `ENABLED` , AWS Clean Rooms logs details about queries run within this collaboration and those logs can be viewed in Amazon CloudWatch Logs. The default value is `DISABLED` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-membership.html#cfn-cleanrooms-membership-querylogstatus
//
QueryLogStatus *string `field:"required" json:"queryLogStatus" yaml:"queryLogStatus"`
// The default job result configuration for the membership.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-membership.html#cfn-cleanrooms-membership-defaultjobresultconfiguration
//
DefaultJobResultConfiguration interface{} `field:"optional" json:"defaultJobResultConfiguration" yaml:"defaultJobResultConfiguration"`
// The default protected query result configuration as specified by the member who can receive results.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-membership.html#cfn-cleanrooms-membership-defaultresultconfiguration
//
DefaultResultConfiguration interface{} `field:"optional" json:"defaultResultConfiguration" yaml:"defaultResultConfiguration"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-membership.html#cfn-cleanrooms-membership-ismetricsenabled
//
IsMetricsEnabled interface{} `field:"optional" json:"isMetricsEnabled" yaml:"isMetricsEnabled"`
// An indicator as to whether job logging has been enabled or disabled for the collaboration.
//
// When `ENABLED` , AWS Clean Rooms logs details about jobs run within this collaboration and those logs can be viewed in Amazon CloudWatch Logs. The default value is `DISABLED` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-membership.html#cfn-cleanrooms-membership-joblogstatus
//
JobLogStatus *string `field:"optional" json:"jobLogStatus" yaml:"jobLogStatus"`
// The payment responsibilities accepted by the collaboration member.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-membership.html#cfn-cleanrooms-membership-paymentconfiguration
//
PaymentConfiguration interface{} `field:"optional" json:"paymentConfiguration" yaml:"paymentConfiguration"`
// An optional label that you can assign to a resource when you create it.
//
// Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-membership.html#cfn-cleanrooms-membership-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnMembership`.
Example:
// 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"
cfnMembershipProps := &CfnMembershipProps{
CollaborationIdentifier: jsii.String("collaborationIdentifier"),
QueryLogStatus: jsii.String("queryLogStatus"),
// the properties below are optional
DefaultJobResultConfiguration: &MembershipProtectedJobResultConfigurationProperty{
OutputConfiguration: &MembershipProtectedJobOutputConfigurationProperty{
S3: &ProtectedJobS3OutputConfigurationInputProperty{
Bucket: jsii.String("bucket"),
// the properties below are optional
KeyPrefix: jsii.String("keyPrefix"),
},
},
RoleArn: jsii.String("roleArn"),
},
DefaultResultConfiguration: &MembershipProtectedQueryResultConfigurationProperty{
OutputConfiguration: &MembershipProtectedQueryOutputConfigurationProperty{
S3: &ProtectedQueryS3OutputConfigurationProperty{
Bucket: jsii.String("bucket"),
ResultFormat: jsii.String("resultFormat"),
// the properties below are optional
KeyPrefix: jsii.String("keyPrefix"),
SingleFileOutput: jsii.Boolean(false),
},
},
// the properties below are optional
RoleArn: jsii.String("roleArn"),
},
IsMetricsEnabled: jsii.Boolean(false),
JobLogStatus: jsii.String("jobLogStatus"),
PaymentConfiguration: &MembershipPaymentConfigurationProperty{
QueryCompute: &MembershipQueryComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
// the properties below are optional
JobCompute: &MembershipJobComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
MachineLearning: &MembershipMLPaymentConfigProperty{
ModelInference: &MembershipModelInferencePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
ModelTraining: &MembershipModelTrainingPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
SyntheticDataGeneration: &MembershipSyntheticDataGenerationPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
},
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
type CfnMembership_MembershipJobComputePaymentConfigProperty ¶ added in v2.190.0
type CfnMembership_MembershipJobComputePaymentConfigProperty struct {
// Indicates whether the collaboration member has accepted to pay for job compute costs ( `TRUE` ) or has not accepted to pay for query and job compute costs ( `FALSE` ).
//
// There is only one member who pays for queries and jobs.
//
// An error message is returned for the following reasons:
//
// - If you set the value to `FALSE` but you are responsible to pay for query and job compute costs.
// - If you set the value to `TRUE` but you are not responsible to pay for query and job compute costs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipjobcomputepaymentconfig.html#cfn-cleanrooms-membership-membershipjobcomputepaymentconfig-isresponsible
//
IsResponsible interface{} `field:"required" json:"isResponsible" yaml:"isResponsible"`
}
An object representing the payment responsibilities accepted by the collaboration member for query and job compute costs.
Example:
// 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"
membershipJobComputePaymentConfigProperty := &MembershipJobComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
}
type CfnMembership_MembershipMLPaymentConfigProperty ¶ added in v2.174.1
type CfnMembership_MembershipMLPaymentConfigProperty struct {
// The payment responsibilities accepted by the member for model inference.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmlpaymentconfig.html#cfn-cleanrooms-membership-membershipmlpaymentconfig-modelinference
//
ModelInference interface{} `field:"optional" json:"modelInference" yaml:"modelInference"`
// The payment responsibilities accepted by the member for model training.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmlpaymentconfig.html#cfn-cleanrooms-membership-membershipmlpaymentconfig-modeltraining
//
ModelTraining interface{} `field:"optional" json:"modelTraining" yaml:"modelTraining"`
// The payment configuration for synthetic data generation for this machine learning membership.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmlpaymentconfig.html#cfn-cleanrooms-membership-membershipmlpaymentconfig-syntheticdatageneration
//
SyntheticDataGeneration interface{} `field:"optional" json:"syntheticDataGeneration" yaml:"syntheticDataGeneration"`
}
An object representing the collaboration member's machine learning payment responsibilities set by the collaboration creator.
Example:
// 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"
membershipMLPaymentConfigProperty := &MembershipMLPaymentConfigProperty{
ModelInference: &MembershipModelInferencePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
ModelTraining: &MembershipModelTrainingPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
SyntheticDataGeneration: &MembershipSyntheticDataGenerationPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
}
type CfnMembership_MembershipModelInferencePaymentConfigProperty ¶ added in v2.174.1
type CfnMembership_MembershipModelInferencePaymentConfigProperty struct {
// Indicates whether the collaboration member has accepted to pay for model inference costs ( `TRUE` ) or has not accepted to pay for model inference costs ( `FALSE` ).
//
// If the collaboration creator has not specified anyone to pay for model inference costs, then the member who can query is the default payer.
//
// An error message is returned for the following reasons:
//
// - If you set the value to `FALSE` but you are responsible to pay for model inference costs.
// - If you set the value to `TRUE` but you are not responsible to pay for model inference costs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmodelinferencepaymentconfig.html#cfn-cleanrooms-membership-membershipmodelinferencepaymentconfig-isresponsible
//
IsResponsible interface{} `field:"required" json:"isResponsible" yaml:"isResponsible"`
}
An object representing the collaboration member's model inference payment responsibilities set by the collaboration creator.
Example:
// 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"
membershipModelInferencePaymentConfigProperty := &MembershipModelInferencePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
}
type CfnMembership_MembershipModelTrainingPaymentConfigProperty ¶ added in v2.174.1
type CfnMembership_MembershipModelTrainingPaymentConfigProperty struct {
// Indicates whether the collaboration member has accepted to pay for model training costs ( `TRUE` ) or has not accepted to pay for model training costs ( `FALSE` ).
//
// If the collaboration creator has not specified anyone to pay for model training costs, then the member who can query is the default payer.
//
// An error message is returned for the following reasons:
//
// - If you set the value to `FALSE` but you are responsible to pay for model training costs.
// - If you set the value to `TRUE` but you are not responsible to pay for model training costs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmodeltrainingpaymentconfig.html#cfn-cleanrooms-membership-membershipmodeltrainingpaymentconfig-isresponsible
//
IsResponsible interface{} `field:"required" json:"isResponsible" yaml:"isResponsible"`
}
An object representing the collaboration member's model training payment responsibilities set by the collaboration creator.
Example:
// 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"
membershipModelTrainingPaymentConfigProperty := &MembershipModelTrainingPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
}
type CfnMembership_MembershipPaymentConfigurationProperty ¶ added in v2.112.0
type CfnMembership_MembershipPaymentConfigurationProperty struct {
// The payment responsibilities accepted by the collaboration member for query compute costs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershippaymentconfiguration.html#cfn-cleanrooms-membership-membershippaymentconfiguration-querycompute
//
QueryCompute interface{} `field:"required" json:"queryCompute" yaml:"queryCompute"`
// The payment responsibilities accepted by the collaboration member for job compute costs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershippaymentconfiguration.html#cfn-cleanrooms-membership-membershippaymentconfiguration-jobcompute
//
JobCompute interface{} `field:"optional" json:"jobCompute" yaml:"jobCompute"`
// The payment responsibilities accepted by the collaboration member for machine learning costs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershippaymentconfiguration.html#cfn-cleanrooms-membership-membershippaymentconfiguration-machinelearning
//
MachineLearning interface{} `field:"optional" json:"machineLearning" yaml:"machineLearning"`
}
An object representing the payment responsibilities accepted by the collaboration member.
Example:
// 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"
membershipPaymentConfigurationProperty := &MembershipPaymentConfigurationProperty{
QueryCompute: &MembershipQueryComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
// the properties below are optional
JobCompute: &MembershipJobComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
MachineLearning: &MembershipMLPaymentConfigProperty{
ModelInference: &MembershipModelInferencePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
ModelTraining: &MembershipModelTrainingPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
SyntheticDataGeneration: &MembershipSyntheticDataGenerationPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
},
},
}
type CfnMembership_MembershipProtectedJobOutputConfigurationProperty ¶ added in v2.190.0
type CfnMembership_MembershipProtectedJobOutputConfigurationProperty struct {
// Contains the configuration to write the job results to S3.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipprotectedjoboutputconfiguration.html#cfn-cleanrooms-membership-membershipprotectedjoboutputconfiguration-s3
//
S3 interface{} `field:"required" json:"s3" yaml:"s3"`
}
Contains configurations for protected job results.
Example:
// 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"
membershipProtectedJobOutputConfigurationProperty := &MembershipProtectedJobOutputConfigurationProperty{
S3: &ProtectedJobS3OutputConfigurationInputProperty{
Bucket: jsii.String("bucket"),
// the properties below are optional
KeyPrefix: jsii.String("keyPrefix"),
},
}
type CfnMembership_MembershipProtectedJobResultConfigurationProperty ¶ added in v2.190.0
type CfnMembership_MembershipProtectedJobResultConfigurationProperty struct {
// The output configuration for a protected job result.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipprotectedjobresultconfiguration.html#cfn-cleanrooms-membership-membershipprotectedjobresultconfiguration-outputconfiguration
//
OutputConfiguration interface{} `field:"required" json:"outputConfiguration" yaml:"outputConfiguration"`
// The unique ARN for an IAM role that is used by AWS Clean Rooms to write protected job results to the result location, given by the member who can receive results.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipprotectedjobresultconfiguration.html#cfn-cleanrooms-membership-membershipprotectedjobresultconfiguration-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
}
Contains configurations for protected job results.
Example:
// 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"
membershipProtectedJobResultConfigurationProperty := &MembershipProtectedJobResultConfigurationProperty{
OutputConfiguration: &MembershipProtectedJobOutputConfigurationProperty{
S3: &ProtectedJobS3OutputConfigurationInputProperty{
Bucket: jsii.String("bucket"),
// the properties below are optional
KeyPrefix: jsii.String("keyPrefix"),
},
},
RoleArn: jsii.String("roleArn"),
}
type CfnMembership_MembershipProtectedQueryOutputConfigurationProperty ¶ added in v2.97.0
type CfnMembership_MembershipProtectedQueryOutputConfigurationProperty struct {
// Required configuration for a protected query with an `s3` output type.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipprotectedqueryoutputconfiguration.html#cfn-cleanrooms-membership-membershipprotectedqueryoutputconfiguration-s3
//
S3 interface{} `field:"required" json:"s3" yaml:"s3"`
}
Contains configurations for protected query results.
Example:
// 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"
membershipProtectedQueryOutputConfigurationProperty := &MembershipProtectedQueryOutputConfigurationProperty{
S3: &ProtectedQueryS3OutputConfigurationProperty{
Bucket: jsii.String("bucket"),
ResultFormat: jsii.String("resultFormat"),
// the properties below are optional
KeyPrefix: jsii.String("keyPrefix"),
SingleFileOutput: jsii.Boolean(false),
},
}
type CfnMembership_MembershipProtectedQueryResultConfigurationProperty ¶ added in v2.97.0
type CfnMembership_MembershipProtectedQueryResultConfigurationProperty struct {
// Configuration for protected query results.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipprotectedqueryresultconfiguration.html#cfn-cleanrooms-membership-membershipprotectedqueryresultconfiguration-outputconfiguration
//
OutputConfiguration interface{} `field:"required" json:"outputConfiguration" yaml:"outputConfiguration"`
// The unique ARN for an IAM role that is used by AWS Clean Rooms to write protected query results to the result location, given by the member who can receive results.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipprotectedqueryresultconfiguration.html#cfn-cleanrooms-membership-membershipprotectedqueryresultconfiguration-rolearn
//
RoleArn *string `field:"optional" json:"roleArn" yaml:"roleArn"`
}
Contains configurations for protected query results.
Example:
// 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"
membershipProtectedQueryResultConfigurationProperty := &MembershipProtectedQueryResultConfigurationProperty{
OutputConfiguration: &MembershipProtectedQueryOutputConfigurationProperty{
S3: &ProtectedQueryS3OutputConfigurationProperty{
Bucket: jsii.String("bucket"),
ResultFormat: jsii.String("resultFormat"),
// the properties below are optional
KeyPrefix: jsii.String("keyPrefix"),
SingleFileOutput: jsii.Boolean(false),
},
},
// the properties below are optional
RoleArn: jsii.String("roleArn"),
}
type CfnMembership_MembershipQueryComputePaymentConfigProperty ¶ added in v2.112.0
type CfnMembership_MembershipQueryComputePaymentConfigProperty struct {
// Indicates whether the collaboration member has accepted to pay for query compute costs ( `TRUE` ) or has not accepted to pay for query compute costs ( `FALSE` ).
//
// If the collaboration creator has not specified anyone to pay for query compute costs, then the member who can query is the default payer.
//
// An error message is returned for the following reasons:
//
// - If you set the value to `FALSE` but you are responsible to pay for query compute costs.
// - If you set the value to `TRUE` but you are not responsible to pay for query compute costs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipquerycomputepaymentconfig.html#cfn-cleanrooms-membership-membershipquerycomputepaymentconfig-isresponsible
//
IsResponsible interface{} `field:"required" json:"isResponsible" yaml:"isResponsible"`
}
An object representing the payment responsibilities accepted by the collaboration member for query compute costs.
Example:
// 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"
membershipQueryComputePaymentConfigProperty := &MembershipQueryComputePaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
}
type CfnMembership_MembershipSyntheticDataGenerationPaymentConfigProperty ¶ added in v2.233.0
type CfnMembership_MembershipSyntheticDataGenerationPaymentConfigProperty struct {
// Indicates if this membership is responsible for paying for synthetic data generation.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipsyntheticdatagenerationpaymentconfig.html#cfn-cleanrooms-membership-membershipsyntheticdatagenerationpaymentconfig-isresponsible
//
IsResponsible interface{} `field:"required" json:"isResponsible" yaml:"isResponsible"`
}
Configuration for payment for synthetic data generation in a membership.
Example:
// 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"
membershipSyntheticDataGenerationPaymentConfigProperty := &MembershipSyntheticDataGenerationPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
}
type CfnMembership_ProtectedJobS3OutputConfigurationInputProperty ¶ added in v2.190.0
type CfnMembership_ProtectedJobS3OutputConfigurationInputProperty struct {
// The S3 bucket for job output.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-protectedjobs3outputconfigurationinput.html#cfn-cleanrooms-membership-protectedjobs3outputconfigurationinput-bucket
//
Bucket *string `field:"required" json:"bucket" yaml:"bucket"`
// The S3 prefix to unload the protected job results.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-protectedjobs3outputconfigurationinput.html#cfn-cleanrooms-membership-protectedjobs3outputconfigurationinput-keyprefix
//
KeyPrefix *string `field:"optional" json:"keyPrefix" yaml:"keyPrefix"`
}
Contains input information for protected jobs with an S3 output type.
Example:
// 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"
protectedJobS3OutputConfigurationInputProperty := &ProtectedJobS3OutputConfigurationInputProperty{
Bucket: jsii.String("bucket"),
// the properties below are optional
KeyPrefix: jsii.String("keyPrefix"),
}
type CfnMembership_ProtectedQueryS3OutputConfigurationProperty ¶ added in v2.97.0
type CfnMembership_ProtectedQueryS3OutputConfigurationProperty struct {
// The S3 bucket to unload the protected query results.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-protectedquerys3outputconfiguration.html#cfn-cleanrooms-membership-protectedquerys3outputconfiguration-bucket
//
Bucket *string `field:"required" json:"bucket" yaml:"bucket"`
// Intended file format of the result.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-protectedquerys3outputconfiguration.html#cfn-cleanrooms-membership-protectedquerys3outputconfiguration-resultformat
//
ResultFormat *string `field:"required" json:"resultFormat" yaml:"resultFormat"`
// The S3 prefix to unload the protected query results.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-protectedquerys3outputconfiguration.html#cfn-cleanrooms-membership-protectedquerys3outputconfiguration-keyprefix
//
KeyPrefix *string `field:"optional" json:"keyPrefix" yaml:"keyPrefix"`
// Indicates whether files should be output as a single file ( `TRUE` ) or output as multiple files ( `FALSE` ).
//
// This parameter is only supported for analyses with the Spark analytics engine.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-protectedquerys3outputconfiguration.html#cfn-cleanrooms-membership-protectedquerys3outputconfiguration-singlefileoutput
//
SingleFileOutput interface{} `field:"optional" json:"singleFileOutput" yaml:"singleFileOutput"`
}
Contains the configuration to write the query results to S3.
Example:
// 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"
protectedQueryS3OutputConfigurationProperty := &ProtectedQueryS3OutputConfigurationProperty{
Bucket: jsii.String("bucket"),
ResultFormat: jsii.String("resultFormat"),
// the properties below are optional
KeyPrefix: jsii.String("keyPrefix"),
SingleFileOutput: jsii.Boolean(false),
}
type CfnPrivacyBudgetTemplate ¶ added in v2.138.0
type CfnPrivacyBudgetTemplate interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawscleanrooms.IPrivacyBudgetTemplateRef
awscdk.ITaggableV2
// The ARN of the privacy budget template.
AttrArn() *string
// The ARN of the collaboration that contains this privacy budget template.
AttrCollaborationArn() *string
// The unique ID of the collaboration that contains this privacy budget template.
AttrCollaborationIdentifier() *string
// The Amazon Resource Name (ARN) of the member who created the privacy budget template.
AttrMembershipArn() *string
// A unique identifier for one of your memberships for a collaboration.
//
// The privacy budget template is created in the collaboration that this membership belongs to. Accepts a membership ID.
AttrPrivacyBudgetTemplateIdentifier() *string
// How often the privacy budget refreshes.
AutoRefresh() *string
SetAutoRefresh(val *string)
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnPropertyNames() *map[string]*string
// AWS resource type.
CfnResourceType() *string
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
Env() *interfaces.ResourceEnvironment
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The identifier for a membership resource.
MembershipIdentifier() *string
SetMembershipIdentifier(val *string)
// The tree node.
Node() constructs.Node
// Specifies the epsilon and noise parameters for the privacy budget template.
Parameters() interface{}
SetParameters(val interface{})
// A reference to a PrivacyBudgetTemplate resource.
PrivacyBudgetTemplateRef() *interfacesawscleanrooms.PrivacyBudgetTemplateReference
// Specifies the type of the privacy budget template.
PrivacyBudgetType() *string
SetPrivacyBudgetType(val *string)
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// An optional label that you can assign to a resource when you create it.
Tags() *[]*awscdk.CfnTag
SetTags(val *[]*awscdk.CfnTag)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
CfnPropertyName(cdkPropertyName *string) *string
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
// Applies one or more mixins to this construct.
//
// Mixins are applied in order. The list of constructs is captured at the
// start of the call, so constructs added by a mixin will not be visited.
// Use multiple `with()` calls if subsequent mixins should apply to added
// constructs.
With(mixins ...constructs.IMixin) constructs.IConstruct
}
An object that defines the privacy budget template.
Example:
// 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"
cfnPrivacyBudgetTemplate := awscdk.Aws_cleanrooms.NewCfnPrivacyBudgetTemplate(this, jsii.String("MyCfnPrivacyBudgetTemplate"), &CfnPrivacyBudgetTemplateProps{
AutoRefresh: jsii.String("autoRefresh"),
MembershipIdentifier: jsii.String("membershipIdentifier"),
Parameters: &ParametersProperty{
BudgetParameters: []interface{}{
&BudgetParameterProperty{
Budget: jsii.Number(123),
Type: jsii.String("type"),
// the properties below are optional
AutoRefresh: jsii.String("autoRefresh"),
},
},
Epsilon: jsii.Number(123),
ResourceArn: jsii.String("resourceArn"),
UsersNoisePerQuery: jsii.Number(123),
},
PrivacyBudgetType: jsii.String("privacyBudgetType"),
// the properties below are optional
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
})
func NewCfnPrivacyBudgetTemplate ¶ added in v2.138.0
func NewCfnPrivacyBudgetTemplate(scope constructs.Construct, id *string, props *CfnPrivacyBudgetTemplateProps) CfnPrivacyBudgetTemplate
Create a new `AWS::CleanRooms::PrivacyBudgetTemplate`.
type CfnPrivacyBudgetTemplateProps ¶ added in v2.138.0
type CfnPrivacyBudgetTemplateProps struct {
// How often the privacy budget refreshes.
//
// > If you plan to regularly bring new data into the collaboration, use `CALENDAR_MONTH` to automatically get a new privacy budget for the collaboration every calendar month. Choosing this option allows arbitrary amounts of information to be revealed about rows of the data when repeatedly queried across refreshes. Avoid choosing this if the same rows will be repeatedly queried between privacy budget refreshes.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-privacybudgettemplate.html#cfn-cleanrooms-privacybudgettemplate-autorefresh
//
AutoRefresh *string `field:"required" json:"autoRefresh" yaml:"autoRefresh"`
// The identifier for a membership resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-privacybudgettemplate.html#cfn-cleanrooms-privacybudgettemplate-membershipidentifier
//
MembershipIdentifier *string `field:"required" json:"membershipIdentifier" yaml:"membershipIdentifier"`
// Specifies the epsilon and noise parameters for the privacy budget template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-privacybudgettemplate.html#cfn-cleanrooms-privacybudgettemplate-parameters
//
Parameters interface{} `field:"required" json:"parameters" yaml:"parameters"`
// Specifies the type of the privacy budget template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-privacybudgettemplate.html#cfn-cleanrooms-privacybudgettemplate-privacybudgettype
//
PrivacyBudgetType *string `field:"required" json:"privacyBudgetType" yaml:"privacyBudgetType"`
// An optional label that you can assign to a resource when you create it.
//
// Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-privacybudgettemplate.html#cfn-cleanrooms-privacybudgettemplate-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnPrivacyBudgetTemplate`.
Example:
// 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"
cfnPrivacyBudgetTemplateProps := &CfnPrivacyBudgetTemplateProps{
AutoRefresh: jsii.String("autoRefresh"),
MembershipIdentifier: jsii.String("membershipIdentifier"),
Parameters: &ParametersProperty{
BudgetParameters: []interface{}{
&BudgetParameterProperty{
Budget: jsii.Number(123),
Type: jsii.String("type"),
// the properties below are optional
AutoRefresh: jsii.String("autoRefresh"),
},
},
Epsilon: jsii.Number(123),
ResourceArn: jsii.String("resourceArn"),
UsersNoisePerQuery: jsii.Number(123),
},
PrivacyBudgetType: jsii.String("privacyBudgetType"),
// the properties below are optional
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
type CfnPrivacyBudgetTemplate_BudgetParameterProperty ¶ added in v2.224.0
type CfnPrivacyBudgetTemplate_BudgetParameterProperty struct {
// The budget allocation amount for this specific parameter.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-privacybudgettemplate-budgetparameter.html#cfn-cleanrooms-privacybudgettemplate-budgetparameter-budget
//
Budget *float64 `field:"required" json:"budget" yaml:"budget"`
// The type of budget parameter being configured.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-privacybudgettemplate-budgetparameter.html#cfn-cleanrooms-privacybudgettemplate-budgetparameter-type
//
Type *string `field:"required" json:"type" yaml:"type"`
// Whether this individual budget parameter automatically refreshes when the budget period resets.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-privacybudgettemplate-budgetparameter.html#cfn-cleanrooms-privacybudgettemplate-budgetparameter-autorefresh
//
AutoRefresh *string `field:"optional" json:"autoRefresh" yaml:"autoRefresh"`
}
Individual budget parameter configuration that defines specific budget allocation settings for access budgets.
Example:
// 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"
budgetParameterProperty := &BudgetParameterProperty{
Budget: jsii.Number(123),
Type: jsii.String("type"),
// the properties below are optional
AutoRefresh: jsii.String("autoRefresh"),
}
type CfnPrivacyBudgetTemplate_ParametersProperty ¶ added in v2.138.0
type CfnPrivacyBudgetTemplate_ParametersProperty struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-privacybudgettemplate-parameters.html#cfn-cleanrooms-privacybudgettemplate-parameters-budgetparameters
//
BudgetParameters interface{} `field:"optional" json:"budgetParameters" yaml:"budgetParameters"`
// The epsilon value that you want to use.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-privacybudgettemplate-parameters.html#cfn-cleanrooms-privacybudgettemplate-parameters-epsilon
//
Epsilon *float64 `field:"optional" json:"epsilon" yaml:"epsilon"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-privacybudgettemplate-parameters.html#cfn-cleanrooms-privacybudgettemplate-parameters-resourcearn
//
ResourceArn *string `field:"optional" json:"resourceArn" yaml:"resourceArn"`
// Noise added per query is measured in terms of the number of users whose contributions you want to obscure.
//
// This value governs the rate at which the privacy budget is depleted.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-privacybudgettemplate-parameters.html#cfn-cleanrooms-privacybudgettemplate-parameters-usersnoiseperquery
//
UsersNoisePerQuery *float64 `field:"optional" json:"usersNoisePerQuery" yaml:"usersNoisePerQuery"`
}
Specifies the epsilon and noise parameters for the privacy budget template.
Example:
// 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"
parametersProperty := &ParametersProperty{
BudgetParameters: []interface{}{
&BudgetParameterProperty{
Budget: jsii.Number(123),
Type: jsii.String("type"),
// the properties below are optional
AutoRefresh: jsii.String("autoRefresh"),
},
},
Epsilon: jsii.Number(123),
ResourceArn: jsii.String("resourceArn"),
UsersNoisePerQuery: jsii.Number(123),
}
Source Files
¶
- CfnAnalysisTemplate.go
- CfnAnalysisTemplateProps.go
- CfnAnalysisTemplate_AnalysisParameterProperty.go
- CfnAnalysisTemplate_AnalysisSchemaProperty.go
- CfnAnalysisTemplate_AnalysisSourceMetadataProperty.go
- CfnAnalysisTemplate_AnalysisSourceProperty.go
- CfnAnalysisTemplate_AnalysisTemplateArtifactMetadataProperty.go
- CfnAnalysisTemplate_AnalysisTemplateArtifactProperty.go
- CfnAnalysisTemplate_AnalysisTemplateArtifactsProperty.go
- CfnAnalysisTemplate_ColumnClassificationDetailsProperty.go
- CfnAnalysisTemplate_ErrorMessageConfigurationProperty.go
- CfnAnalysisTemplate_HashProperty.go
- CfnAnalysisTemplate_MLSyntheticDataParametersProperty.go
- CfnAnalysisTemplate_S3LocationProperty.go
- CfnAnalysisTemplate_SyntheticDataColumnPropertiesProperty.go
- CfnAnalysisTemplate_SyntheticDataParametersProperty.go
- CfnAnalysisTemplate__checks.go
- CfnCollaboration.go
- CfnCollaborationProps.go
- CfnCollaboration_DataEncryptionMetadataProperty.go
- CfnCollaboration_JobComputePaymentConfigProperty.go
- CfnCollaboration_MLMemberAbilitiesProperty.go
- CfnCollaboration_MLPaymentConfigProperty.go
- CfnCollaboration_MemberSpecificationProperty.go
- CfnCollaboration_ModelInferencePaymentConfigProperty.go
- CfnCollaboration_ModelTrainingPaymentConfigProperty.go
- CfnCollaboration_PaymentConfigurationProperty.go
- CfnCollaboration_QueryComputePaymentConfigProperty.go
- CfnCollaboration_SyntheticDataGenerationPaymentConfigProperty.go
- CfnCollaboration__checks.go
- CfnConfiguredTable.go
- CfnConfiguredTableAssociation.go
- CfnConfiguredTableAssociationProps.go
- CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleAggregationProperty.go
- CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleCustomProperty.go
- CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleListProperty.go
- CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRulePolicyProperty.go
- CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRulePolicyV1Property.go
- CfnConfiguredTableAssociation_ConfiguredTableAssociationAnalysisRuleProperty.go
- CfnConfiguredTableAssociation__checks.go
- CfnConfiguredTableProps.go
- CfnConfiguredTable_AggregateColumnProperty.go
- CfnConfiguredTable_AggregationConstraintProperty.go
- CfnConfiguredTable_AnalysisRuleAggregationProperty.go
- CfnConfiguredTable_AnalysisRuleCustomProperty.go
- CfnConfiguredTable_AnalysisRuleListProperty.go
- CfnConfiguredTable_AnalysisRuleProperty.go
- CfnConfiguredTable_AthenaTableReferenceProperty.go
- CfnConfiguredTable_ConfiguredTableAnalysisRulePolicyProperty.go
- CfnConfiguredTable_ConfiguredTableAnalysisRulePolicyV1Property.go
- CfnConfiguredTable_DifferentialPrivacyColumnProperty.go
- CfnConfiguredTable_DifferentialPrivacyProperty.go
- CfnConfiguredTable_GlueTableReferenceProperty.go
- CfnConfiguredTable_SnowflakeTableReferenceProperty.go
- CfnConfiguredTable_SnowflakeTableSchemaProperty.go
- CfnConfiguredTable_SnowflakeTableSchemaV1Property.go
- CfnConfiguredTable_TableReferenceProperty.go
- CfnConfiguredTable__checks.go
- CfnIdMappingTable.go
- CfnIdMappingTableProps.go
- CfnIdMappingTable_IdMappingTableInputReferenceConfigProperty.go
- CfnIdMappingTable_IdMappingTableInputReferencePropertiesProperty.go
- CfnIdMappingTable_IdMappingTableInputSourceProperty.go
- CfnIdMappingTable__checks.go
- CfnIdNamespaceAssociation.go
- CfnIdNamespaceAssociationProps.go
- CfnIdNamespaceAssociation_IdMappingConfigProperty.go
- CfnIdNamespaceAssociation_IdNamespaceAssociationInputReferenceConfigProperty.go
- CfnIdNamespaceAssociation_IdNamespaceAssociationInputReferencePropertiesProperty.go
- CfnIdNamespaceAssociation__checks.go
- CfnMembership.go
- CfnMembershipProps.go
- CfnMembership_MembershipJobComputePaymentConfigProperty.go
- CfnMembership_MembershipMLPaymentConfigProperty.go
- CfnMembership_MembershipModelInferencePaymentConfigProperty.go
- CfnMembership_MembershipModelTrainingPaymentConfigProperty.go
- CfnMembership_MembershipPaymentConfigurationProperty.go
- CfnMembership_MembershipProtectedJobOutputConfigurationProperty.go
- CfnMembership_MembershipProtectedJobResultConfigurationProperty.go
- CfnMembership_MembershipProtectedQueryOutputConfigurationProperty.go
- CfnMembership_MembershipProtectedQueryResultConfigurationProperty.go
- CfnMembership_MembershipQueryComputePaymentConfigProperty.go
- CfnMembership_MembershipSyntheticDataGenerationPaymentConfigProperty.go
- CfnMembership_ProtectedJobS3OutputConfigurationInputProperty.go
- CfnMembership_ProtectedQueryS3OutputConfigurationProperty.go
- CfnMembership__checks.go
- CfnPrivacyBudgetTemplate.go
- CfnPrivacyBudgetTemplateProps.go
- CfnPrivacyBudgetTemplate_BudgetParameterProperty.go
- CfnPrivacyBudgetTemplate_ParametersProperty.go
- CfnPrivacyBudgetTemplate__checks.go
- main.go