Documentation ¶
Index ¶
- func AllowListReceiptFilter_IsConstruct(x interface{}) *bool
- func CfnConfigurationSetEventDestination_CFN_RESOURCE_TYPE_NAME() *string
- func CfnConfigurationSetEventDestination_IsCfnElement(x interface{}) *bool
- func CfnConfigurationSetEventDestination_IsCfnResource(x interface{}) *bool
- func CfnConfigurationSetEventDestination_IsConstruct(x interface{}) *bool
- func CfnConfigurationSet_CFN_RESOURCE_TYPE_NAME() *string
- func CfnConfigurationSet_IsCfnElement(x interface{}) *bool
- func CfnConfigurationSet_IsCfnResource(x interface{}) *bool
- func CfnConfigurationSet_IsConstruct(x interface{}) *bool
- func CfnContactList_CFN_RESOURCE_TYPE_NAME() *string
- func CfnContactList_IsCfnElement(x interface{}) *bool
- func CfnContactList_IsCfnResource(x interface{}) *bool
- func CfnContactList_IsConstruct(x interface{}) *bool
- func CfnDedicatedIpPool_CFN_RESOURCE_TYPE_NAME() *string
- func CfnDedicatedIpPool_IsCfnElement(x interface{}) *bool
- func CfnDedicatedIpPool_IsCfnResource(x interface{}) *bool
- func CfnDedicatedIpPool_IsConstruct(x interface{}) *bool
- func CfnEmailIdentity_CFN_RESOURCE_TYPE_NAME() *string
- func CfnEmailIdentity_IsCfnElement(x interface{}) *bool
- func CfnEmailIdentity_IsCfnResource(x interface{}) *bool
- func CfnEmailIdentity_IsConstruct(x interface{}) *bool
- func CfnMailManagerAddonInstance_CFN_RESOURCE_TYPE_NAME() *string
- func CfnMailManagerAddonInstance_IsCfnElement(x interface{}) *bool
- func CfnMailManagerAddonInstance_IsCfnResource(x interface{}) *bool
- func CfnMailManagerAddonInstance_IsConstruct(x interface{}) *bool
- func CfnMailManagerAddonSubscription_CFN_RESOURCE_TYPE_NAME() *string
- func CfnMailManagerAddonSubscription_IsCfnElement(x interface{}) *bool
- func CfnMailManagerAddonSubscription_IsCfnResource(x interface{}) *bool
- func CfnMailManagerAddonSubscription_IsConstruct(x interface{}) *bool
- func CfnMailManagerArchive_CFN_RESOURCE_TYPE_NAME() *string
- func CfnMailManagerArchive_IsCfnElement(x interface{}) *bool
- func CfnMailManagerArchive_IsCfnResource(x interface{}) *bool
- func CfnMailManagerArchive_IsConstruct(x interface{}) *bool
- func CfnMailManagerIngressPoint_CFN_RESOURCE_TYPE_NAME() *string
- func CfnMailManagerIngressPoint_IsCfnElement(x interface{}) *bool
- func CfnMailManagerIngressPoint_IsCfnResource(x interface{}) *bool
- func CfnMailManagerIngressPoint_IsConstruct(x interface{}) *bool
- func CfnMailManagerRelay_CFN_RESOURCE_TYPE_NAME() *string
- func CfnMailManagerRelay_IsCfnElement(x interface{}) *bool
- func CfnMailManagerRelay_IsCfnResource(x interface{}) *bool
- func CfnMailManagerRelay_IsConstruct(x interface{}) *bool
- func CfnMailManagerRuleSet_CFN_RESOURCE_TYPE_NAME() *string
- func CfnMailManagerRuleSet_IsCfnElement(x interface{}) *bool
- func CfnMailManagerRuleSet_IsCfnResource(x interface{}) *bool
- func CfnMailManagerRuleSet_IsConstruct(x interface{}) *bool
- func CfnMailManagerTrafficPolicy_CFN_RESOURCE_TYPE_NAME() *string
- func CfnMailManagerTrafficPolicy_IsCfnElement(x interface{}) *bool
- func CfnMailManagerTrafficPolicy_IsCfnResource(x interface{}) *bool
- func CfnMailManagerTrafficPolicy_IsConstruct(x interface{}) *bool
- func CfnReceiptFilter_CFN_RESOURCE_TYPE_NAME() *string
- func CfnReceiptFilter_IsCfnElement(x interface{}) *bool
- func CfnReceiptFilter_IsCfnResource(x interface{}) *bool
- func CfnReceiptFilter_IsConstruct(x interface{}) *bool
- func CfnReceiptRuleSet_CFN_RESOURCE_TYPE_NAME() *string
- func CfnReceiptRuleSet_IsCfnElement(x interface{}) *bool
- func CfnReceiptRuleSet_IsCfnResource(x interface{}) *bool
- func CfnReceiptRuleSet_IsConstruct(x interface{}) *bool
- func CfnReceiptRule_CFN_RESOURCE_TYPE_NAME() *string
- func CfnReceiptRule_IsCfnElement(x interface{}) *bool
- func CfnReceiptRule_IsCfnResource(x interface{}) *bool
- func CfnReceiptRule_IsConstruct(x interface{}) *bool
- func CfnTemplate_CFN_RESOURCE_TYPE_NAME() *string
- func CfnTemplate_IsCfnElement(x interface{}) *bool
- func CfnTemplate_IsCfnResource(x interface{}) *bool
- func CfnTemplate_IsConstruct(x interface{}) *bool
- func CfnVdmAttributes_CFN_RESOURCE_TYPE_NAME() *string
- func CfnVdmAttributes_IsCfnElement(x interface{}) *bool
- func CfnVdmAttributes_IsCfnResource(x interface{}) *bool
- func CfnVdmAttributes_IsConstruct(x interface{}) *bool
- func ConfigurationSetEventDestination_IsConstruct(x interface{}) *bool
- func ConfigurationSetEventDestination_IsOwnedResource(construct constructs.IConstruct) *bool
- func ConfigurationSetEventDestination_IsResource(construct constructs.IConstruct) *bool
- func ConfigurationSet_IsConstruct(x interface{}) *bool
- func ConfigurationSet_IsOwnedResource(construct constructs.IConstruct) *bool
- func ConfigurationSet_IsResource(construct constructs.IConstruct) *bool
- func DedicatedIpPool_IsConstruct(x interface{}) *bool
- func DedicatedIpPool_IsOwnedResource(construct constructs.IConstruct) *bool
- func DedicatedIpPool_IsResource(construct constructs.IConstruct) *bool
- func DropSpamReceiptRule_IsConstruct(x interface{}) *bool
- func EmailIdentity_IsConstruct(x interface{}) *bool
- func EmailIdentity_IsOwnedResource(construct constructs.IConstruct) *bool
- func EmailIdentity_IsResource(construct constructs.IConstruct) *bool
- func NewAllowListReceiptFilter_Override(a AllowListReceiptFilter, scope constructs.Construct, id *string, ...)
- func NewCfnConfigurationSetEventDestination_Override(c CfnConfigurationSetEventDestination, scope constructs.Construct, id *string, ...)
- func NewCfnConfigurationSet_Override(c CfnConfigurationSet, scope constructs.Construct, id *string, ...)
- func NewCfnContactList_Override(c CfnContactList, scope constructs.Construct, id *string, ...)
- func NewCfnDedicatedIpPool_Override(c CfnDedicatedIpPool, scope constructs.Construct, id *string, ...)
- func NewCfnEmailIdentity_Override(c CfnEmailIdentity, scope constructs.Construct, id *string, ...)
- func NewCfnMailManagerAddonInstance_Override(c CfnMailManagerAddonInstance, scope constructs.Construct, id *string, ...)
- func NewCfnMailManagerAddonSubscription_Override(c CfnMailManagerAddonSubscription, scope constructs.Construct, id *string, ...)
- func NewCfnMailManagerArchive_Override(c CfnMailManagerArchive, scope constructs.Construct, id *string, ...)
- func NewCfnMailManagerIngressPoint_Override(c CfnMailManagerIngressPoint, scope constructs.Construct, id *string, ...)
- func NewCfnMailManagerRelay_Override(c CfnMailManagerRelay, scope constructs.Construct, id *string, ...)
- func NewCfnMailManagerRuleSet_Override(c CfnMailManagerRuleSet, scope constructs.Construct, id *string, ...)
- func NewCfnMailManagerTrafficPolicy_Override(c CfnMailManagerTrafficPolicy, scope constructs.Construct, id *string, ...)
- func NewCfnReceiptFilter_Override(c CfnReceiptFilter, scope constructs.Construct, id *string, ...)
- func NewCfnReceiptRuleSet_Override(c CfnReceiptRuleSet, scope constructs.Construct, id *string, ...)
- func NewCfnReceiptRule_Override(c CfnReceiptRule, scope constructs.Construct, id *string, ...)
- func NewCfnTemplate_Override(c CfnTemplate, scope constructs.Construct, id *string, props *CfnTemplateProps)
- func NewCfnVdmAttributes_Override(c CfnVdmAttributes, scope constructs.Construct, id *string, ...)
- func NewConfigurationSetEventDestination_Override(c ConfigurationSetEventDestination, scope constructs.Construct, id *string, ...)
- func NewConfigurationSet_Override(c ConfigurationSet, scope constructs.Construct, id *string, ...)
- func NewDedicatedIpPool_Override(d DedicatedIpPool, scope constructs.Construct, id *string, ...)
- func NewDkimIdentity_Override(d DkimIdentity)
- func NewDropSpamReceiptRule_Override(d DropSpamReceiptRule, scope constructs.Construct, id *string, ...)
- func NewEmailIdentity_Override(e EmailIdentity, scope constructs.Construct, id *string, ...)
- func NewEventDestination_Override(e EventDestination)
- func NewIdentity_Override(i Identity)
- func NewReceiptFilter_Override(r ReceiptFilter, scope constructs.Construct, id *string, ...)
- func NewReceiptRuleSet_Override(r ReceiptRuleSet, scope constructs.Construct, id *string, ...)
- func NewReceiptRule_Override(r ReceiptRule, scope constructs.Construct, id *string, props *ReceiptRuleProps)
- func NewVdmAttributes_Override(v VdmAttributes, scope constructs.Construct, id *string, ...)
- func ReceiptFilter_IsConstruct(x interface{}) *bool
- func ReceiptFilter_IsOwnedResource(construct constructs.IConstruct) *bool
- func ReceiptFilter_IsResource(construct constructs.IConstruct) *bool
- func ReceiptRuleSet_IsConstruct(x interface{}) *bool
- func ReceiptRuleSet_IsOwnedResource(construct constructs.IConstruct) *bool
- func ReceiptRuleSet_IsResource(construct constructs.IConstruct) *bool
- func ReceiptRule_IsConstruct(x interface{}) *bool
- func ReceiptRule_IsOwnedResource(construct constructs.IConstruct) *bool
- func ReceiptRule_IsResource(construct constructs.IConstruct) *bool
- func VdmAttributes_IsConstruct(x interface{}) *bool
- func VdmAttributes_IsOwnedResource(construct constructs.IConstruct) *bool
- func VdmAttributes_IsResource(construct constructs.IConstruct) *bool
- type AddHeaderActionConfig
- type AllowListReceiptFilter
- type AllowListReceiptFilterProps
- type BounceActionConfig
- type ByoDkimOptions
- type CfnConfigurationSet
- type CfnConfigurationSetEventDestination
- type CfnConfigurationSetEventDestinationProps
- type CfnConfigurationSetEventDestination_CloudWatchDestinationProperty
- type CfnConfigurationSetEventDestination_DimensionConfigurationProperty
- type CfnConfigurationSetEventDestination_EventBridgeDestinationProperty
- type CfnConfigurationSetEventDestination_EventDestinationProperty
- type CfnConfigurationSetEventDestination_KinesisFirehoseDestinationProperty
- type CfnConfigurationSetEventDestination_SnsDestinationProperty
- type CfnConfigurationSetProps
- type CfnConfigurationSet_DashboardOptionsProperty
- type CfnConfigurationSet_DeliveryOptionsProperty
- type CfnConfigurationSet_GuardianOptionsProperty
- type CfnConfigurationSet_ReputationOptionsProperty
- type CfnConfigurationSet_SendingOptionsProperty
- type CfnConfigurationSet_SuppressionOptionsProperty
- type CfnConfigurationSet_TrackingOptionsProperty
- type CfnConfigurationSet_VdmOptionsProperty
- type CfnContactList
- type CfnContactListProps
- type CfnContactList_TopicProperty
- type CfnDedicatedIpPool
- type CfnDedicatedIpPoolProps
- type CfnEmailIdentity
- type CfnEmailIdentityProps
- type CfnEmailIdentity_ConfigurationSetAttributesProperty
- type CfnEmailIdentity_DkimAttributesProperty
- type CfnEmailIdentity_DkimSigningAttributesProperty
- type CfnEmailIdentity_FeedbackAttributesProperty
- type CfnEmailIdentity_MailFromAttributesProperty
- type CfnMailManagerAddonInstance
- type CfnMailManagerAddonInstanceProps
- type CfnMailManagerAddonSubscription
- type CfnMailManagerAddonSubscriptionProps
- type CfnMailManagerArchive
- type CfnMailManagerArchiveProps
- type CfnMailManagerArchive_ArchiveRetentionProperty
- type CfnMailManagerIngressPoint
- type CfnMailManagerIngressPointProps
- type CfnMailManagerIngressPoint_IngressPointConfigurationProperty
- type CfnMailManagerRelay
- type CfnMailManagerRelayProps
- type CfnMailManagerRelay_RelayAuthenticationProperty
- type CfnMailManagerRuleSet
- type CfnMailManagerRuleSetProps
- type CfnMailManagerRuleSet_AddHeaderActionProperty
- type CfnMailManagerRuleSet_AnalysisProperty
- type CfnMailManagerRuleSet_ArchiveActionProperty
- type CfnMailManagerRuleSet_DeliverToMailboxActionProperty
- type CfnMailManagerRuleSet_RelayActionProperty
- type CfnMailManagerRuleSet_ReplaceRecipientActionProperty
- type CfnMailManagerRuleSet_RuleActionProperty
- type CfnMailManagerRuleSet_RuleBooleanExpressionProperty
- type CfnMailManagerRuleSet_RuleBooleanToEvaluateProperty
- type CfnMailManagerRuleSet_RuleConditionProperty
- type CfnMailManagerRuleSet_RuleDmarcExpressionProperty
- type CfnMailManagerRuleSet_RuleIpExpressionProperty
- type CfnMailManagerRuleSet_RuleIpToEvaluateProperty
- type CfnMailManagerRuleSet_RuleNumberExpressionProperty
- type CfnMailManagerRuleSet_RuleNumberToEvaluateProperty
- type CfnMailManagerRuleSet_RuleProperty
- type CfnMailManagerRuleSet_RuleStringExpressionProperty
- type CfnMailManagerRuleSet_RuleStringToEvaluateProperty
- type CfnMailManagerRuleSet_RuleVerdictExpressionProperty
- type CfnMailManagerRuleSet_RuleVerdictToEvaluateProperty
- type CfnMailManagerRuleSet_S3ActionProperty
- type CfnMailManagerRuleSet_SendActionProperty
- type CfnMailManagerTrafficPolicy
- type CfnMailManagerTrafficPolicyProps
- type CfnMailManagerTrafficPolicy_IngressAnalysisProperty
- type CfnMailManagerTrafficPolicy_IngressBooleanExpressionProperty
- type CfnMailManagerTrafficPolicy_IngressBooleanToEvaluateProperty
- type CfnMailManagerTrafficPolicy_IngressIpToEvaluateProperty
- type CfnMailManagerTrafficPolicy_IngressIpv4ExpressionProperty
- type CfnMailManagerTrafficPolicy_IngressStringExpressionProperty
- type CfnMailManagerTrafficPolicy_IngressStringToEvaluateProperty
- type CfnMailManagerTrafficPolicy_IngressTlsProtocolExpressionProperty
- type CfnMailManagerTrafficPolicy_IngressTlsProtocolToEvaluateProperty
- type CfnMailManagerTrafficPolicy_PolicyConditionProperty
- type CfnMailManagerTrafficPolicy_PolicyStatementProperty
- type CfnReceiptFilter
- type CfnReceiptFilterProps
- type CfnReceiptFilter_FilterProperty
- type CfnReceiptFilter_IpFilterProperty
- type CfnReceiptRule
- type CfnReceiptRuleProps
- type CfnReceiptRuleSet
- type CfnReceiptRuleSetProps
- type CfnReceiptRule_ActionProperty
- type CfnReceiptRule_AddHeaderActionProperty
- type CfnReceiptRule_BounceActionProperty
- type CfnReceiptRule_LambdaActionProperty
- type CfnReceiptRule_RuleProperty
- type CfnReceiptRule_S3ActionProperty
- type CfnReceiptRule_SNSActionProperty
- type CfnReceiptRule_StopActionProperty
- type CfnReceiptRule_WorkmailActionProperty
- type CfnTemplate
- type CfnTemplateProps
- type CfnTemplate_TemplateProperty
- type CfnVdmAttributes
- type CfnVdmAttributesProps
- type CfnVdmAttributes_DashboardAttributesProperty
- type CfnVdmAttributes_GuardianAttributesProperty
- type CloudWatchDimension
- type CloudWatchDimensionSource
- type ConfigurationSet
- type ConfigurationSetEventDestination
- type ConfigurationSetEventDestinationOptions
- type ConfigurationSetEventDestinationProps
- type ConfigurationSetProps
- type ConfigurationSetTlsPolicy
- type DedicatedIpPool
- type DedicatedIpPoolProps
- type DkimIdentity
- type DkimIdentityConfig
- type DkimRecord
- type DropSpamReceiptRule
- type DropSpamReceiptRuleProps
- type EasyDkimSigningKeyLength
- type EmailIdentity
- type EmailIdentityProps
- type EmailSendingEvent
- type EventDestination
- type IConfigurationSet
- type IConfigurationSetEventDestination
- type IDedicatedIpPool
- type IEmailIdentity
- type IReceiptRule
- type IReceiptRuleAction
- type IReceiptRuleSet
- type IVdmAttributes
- type Identity
- type LambdaActionConfig
- type MailFromBehaviorOnMxFailure
- type ReceiptFilter
- type ReceiptFilterPolicy
- type ReceiptFilterProps
- type ReceiptRule
- type ReceiptRuleActionConfig
- type ReceiptRuleOptions
- type ReceiptRuleProps
- type ReceiptRuleSet
- type ReceiptRuleSetProps
- type S3ActionConfig
- type SNSActionConfig
- type ScalingMode
- type StopActionConfig
- type SuppressionReasons
- type TlsPolicy
- type VdmAttributes
- type VdmAttributesProps
- type VdmOptions
- type WorkmailActionConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowListReceiptFilter_IsConstruct ¶
func AllowListReceiptFilter_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 CfnConfigurationSetEventDestination_CFN_RESOURCE_TYPE_NAME ¶
func CfnConfigurationSetEventDestination_CFN_RESOURCE_TYPE_NAME() *string
func CfnConfigurationSetEventDestination_IsCfnElement ¶
func CfnConfigurationSetEventDestination_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 CfnConfigurationSetEventDestination_IsCfnResource ¶
func CfnConfigurationSetEventDestination_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnConfigurationSetEventDestination_IsConstruct ¶
func CfnConfigurationSetEventDestination_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 CfnConfigurationSet_CFN_RESOURCE_TYPE_NAME ¶
func CfnConfigurationSet_CFN_RESOURCE_TYPE_NAME() *string
func CfnConfigurationSet_IsCfnElement ¶
func CfnConfigurationSet_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 CfnConfigurationSet_IsCfnResource ¶
func CfnConfigurationSet_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnConfigurationSet_IsConstruct ¶
func CfnConfigurationSet_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 CfnContactList_CFN_RESOURCE_TYPE_NAME ¶
func CfnContactList_CFN_RESOURCE_TYPE_NAME() *string
func CfnContactList_IsCfnElement ¶
func CfnContactList_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 CfnContactList_IsCfnResource ¶
func CfnContactList_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnContactList_IsConstruct ¶
func CfnContactList_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 CfnDedicatedIpPool_CFN_RESOURCE_TYPE_NAME ¶ added in v2.31.0
func CfnDedicatedIpPool_CFN_RESOURCE_TYPE_NAME() *string
func CfnDedicatedIpPool_IsCfnElement ¶ added in v2.31.0
func CfnDedicatedIpPool_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 CfnDedicatedIpPool_IsCfnResource ¶ added in v2.31.0
func CfnDedicatedIpPool_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnDedicatedIpPool_IsConstruct ¶ added in v2.31.0
func CfnDedicatedIpPool_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 CfnEmailIdentity_CFN_RESOURCE_TYPE_NAME ¶ added in v2.31.0
func CfnEmailIdentity_CFN_RESOURCE_TYPE_NAME() *string
func CfnEmailIdentity_IsCfnElement ¶ added in v2.31.0
func CfnEmailIdentity_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 CfnEmailIdentity_IsCfnResource ¶ added in v2.31.0
func CfnEmailIdentity_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnEmailIdentity_IsConstruct ¶ added in v2.31.0
func CfnEmailIdentity_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 CfnMailManagerAddonInstance_CFN_RESOURCE_TYPE_NAME ¶ added in v2.154.0
func CfnMailManagerAddonInstance_CFN_RESOURCE_TYPE_NAME() *string
func CfnMailManagerAddonInstance_IsCfnElement ¶ added in v2.154.0
func CfnMailManagerAddonInstance_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 CfnMailManagerAddonInstance_IsCfnResource ¶ added in v2.154.0
func CfnMailManagerAddonInstance_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnMailManagerAddonInstance_IsConstruct ¶ added in v2.154.0
func CfnMailManagerAddonInstance_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 CfnMailManagerAddonSubscription_CFN_RESOURCE_TYPE_NAME ¶ added in v2.154.0
func CfnMailManagerAddonSubscription_CFN_RESOURCE_TYPE_NAME() *string
func CfnMailManagerAddonSubscription_IsCfnElement ¶ added in v2.154.0
func CfnMailManagerAddonSubscription_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 CfnMailManagerAddonSubscription_IsCfnResource ¶ added in v2.154.0
func CfnMailManagerAddonSubscription_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnMailManagerAddonSubscription_IsConstruct ¶ added in v2.154.0
func CfnMailManagerAddonSubscription_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 CfnMailManagerArchive_CFN_RESOURCE_TYPE_NAME ¶ added in v2.154.0
func CfnMailManagerArchive_CFN_RESOURCE_TYPE_NAME() *string
func CfnMailManagerArchive_IsCfnElement ¶ added in v2.154.0
func CfnMailManagerArchive_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 CfnMailManagerArchive_IsCfnResource ¶ added in v2.154.0
func CfnMailManagerArchive_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnMailManagerArchive_IsConstruct ¶ added in v2.154.0
func CfnMailManagerArchive_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 CfnMailManagerIngressPoint_CFN_RESOURCE_TYPE_NAME ¶ added in v2.154.0
func CfnMailManagerIngressPoint_CFN_RESOURCE_TYPE_NAME() *string
func CfnMailManagerIngressPoint_IsCfnElement ¶ added in v2.154.0
func CfnMailManagerIngressPoint_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 CfnMailManagerIngressPoint_IsCfnResource ¶ added in v2.154.0
func CfnMailManagerIngressPoint_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnMailManagerIngressPoint_IsConstruct ¶ added in v2.154.0
func CfnMailManagerIngressPoint_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 CfnMailManagerRelay_CFN_RESOURCE_TYPE_NAME ¶ added in v2.154.0
func CfnMailManagerRelay_CFN_RESOURCE_TYPE_NAME() *string
func CfnMailManagerRelay_IsCfnElement ¶ added in v2.154.0
func CfnMailManagerRelay_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 CfnMailManagerRelay_IsCfnResource ¶ added in v2.154.0
func CfnMailManagerRelay_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnMailManagerRelay_IsConstruct ¶ added in v2.154.0
func CfnMailManagerRelay_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 CfnMailManagerRuleSet_CFN_RESOURCE_TYPE_NAME ¶ added in v2.154.0
func CfnMailManagerRuleSet_CFN_RESOURCE_TYPE_NAME() *string
func CfnMailManagerRuleSet_IsCfnElement ¶ added in v2.154.0
func CfnMailManagerRuleSet_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 CfnMailManagerRuleSet_IsCfnResource ¶ added in v2.154.0
func CfnMailManagerRuleSet_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnMailManagerRuleSet_IsConstruct ¶ added in v2.154.0
func CfnMailManagerRuleSet_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 CfnMailManagerTrafficPolicy_CFN_RESOURCE_TYPE_NAME ¶ added in v2.154.0
func CfnMailManagerTrafficPolicy_CFN_RESOURCE_TYPE_NAME() *string
func CfnMailManagerTrafficPolicy_IsCfnElement ¶ added in v2.154.0
func CfnMailManagerTrafficPolicy_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 CfnMailManagerTrafficPolicy_IsCfnResource ¶ added in v2.154.0
func CfnMailManagerTrafficPolicy_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnMailManagerTrafficPolicy_IsConstruct ¶ added in v2.154.0
func CfnMailManagerTrafficPolicy_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 CfnReceiptFilter_CFN_RESOURCE_TYPE_NAME ¶
func CfnReceiptFilter_CFN_RESOURCE_TYPE_NAME() *string
func CfnReceiptFilter_IsCfnElement ¶
func CfnReceiptFilter_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 CfnReceiptFilter_IsCfnResource ¶
func CfnReceiptFilter_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnReceiptFilter_IsConstruct ¶
func CfnReceiptFilter_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 CfnReceiptRuleSet_CFN_RESOURCE_TYPE_NAME ¶
func CfnReceiptRuleSet_CFN_RESOURCE_TYPE_NAME() *string
func CfnReceiptRuleSet_IsCfnElement ¶
func CfnReceiptRuleSet_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 CfnReceiptRuleSet_IsCfnResource ¶
func CfnReceiptRuleSet_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnReceiptRuleSet_IsConstruct ¶
func CfnReceiptRuleSet_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 CfnReceiptRule_CFN_RESOURCE_TYPE_NAME ¶
func CfnReceiptRule_CFN_RESOURCE_TYPE_NAME() *string
func CfnReceiptRule_IsCfnElement ¶
func CfnReceiptRule_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 CfnReceiptRule_IsCfnResource ¶
func CfnReceiptRule_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnReceiptRule_IsConstruct ¶
func CfnReceiptRule_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 CfnTemplate_CFN_RESOURCE_TYPE_NAME ¶
func CfnTemplate_CFN_RESOURCE_TYPE_NAME() *string
func CfnTemplate_IsCfnElement ¶
func CfnTemplate_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 CfnTemplate_IsCfnResource ¶
func CfnTemplate_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnTemplate_IsConstruct ¶
func CfnTemplate_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 CfnVdmAttributes_CFN_RESOURCE_TYPE_NAME ¶ added in v2.51.0
func CfnVdmAttributes_CFN_RESOURCE_TYPE_NAME() *string
func CfnVdmAttributes_IsCfnElement ¶ added in v2.51.0
func CfnVdmAttributes_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 CfnVdmAttributes_IsCfnResource ¶ added in v2.51.0
func CfnVdmAttributes_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnVdmAttributes_IsConstruct ¶ added in v2.51.0
func CfnVdmAttributes_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 ConfigurationSetEventDestination_IsConstruct ¶ added in v2.74.0
func ConfigurationSetEventDestination_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 ConfigurationSetEventDestination_IsOwnedResource ¶ added in v2.74.0
func ConfigurationSetEventDestination_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise.
func ConfigurationSetEventDestination_IsResource ¶ added in v2.74.0
func ConfigurationSetEventDestination_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource.
func ConfigurationSet_IsConstruct ¶ added in v2.32.0
func ConfigurationSet_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 ConfigurationSet_IsOwnedResource ¶ added in v2.32.0
func ConfigurationSet_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise.
func ConfigurationSet_IsResource ¶ added in v2.32.0
func ConfigurationSet_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource.
func DedicatedIpPool_IsConstruct ¶ added in v2.32.0
func DedicatedIpPool_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 DedicatedIpPool_IsOwnedResource ¶ added in v2.32.0
func DedicatedIpPool_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise.
func DedicatedIpPool_IsResource ¶ added in v2.32.0
func DedicatedIpPool_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource.
func DropSpamReceiptRule_IsConstruct ¶
func DropSpamReceiptRule_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 EmailIdentity_IsConstruct ¶ added in v2.32.0
func EmailIdentity_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 EmailIdentity_IsOwnedResource ¶ added in v2.32.0
func EmailIdentity_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise.
func EmailIdentity_IsResource ¶ added in v2.32.0
func EmailIdentity_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource.
func NewAllowListReceiptFilter_Override ¶
func NewAllowListReceiptFilter_Override(a AllowListReceiptFilter, scope constructs.Construct, id *string, props *AllowListReceiptFilterProps)
func NewCfnConfigurationSetEventDestination_Override ¶
func NewCfnConfigurationSetEventDestination_Override(c CfnConfigurationSetEventDestination, scope constructs.Construct, id *string, props *CfnConfigurationSetEventDestinationProps)
func NewCfnConfigurationSet_Override ¶
func NewCfnConfigurationSet_Override(c CfnConfigurationSet, scope constructs.Construct, id *string, props *CfnConfigurationSetProps)
func NewCfnContactList_Override ¶
func NewCfnContactList_Override(c CfnContactList, scope constructs.Construct, id *string, props *CfnContactListProps)
func NewCfnDedicatedIpPool_Override ¶ added in v2.31.0
func NewCfnDedicatedIpPool_Override(c CfnDedicatedIpPool, scope constructs.Construct, id *string, props *CfnDedicatedIpPoolProps)
func NewCfnEmailIdentity_Override ¶ added in v2.31.0
func NewCfnEmailIdentity_Override(c CfnEmailIdentity, scope constructs.Construct, id *string, props *CfnEmailIdentityProps)
func NewCfnMailManagerAddonInstance_Override ¶ added in v2.154.0
func NewCfnMailManagerAddonInstance_Override(c CfnMailManagerAddonInstance, scope constructs.Construct, id *string, props *CfnMailManagerAddonInstanceProps)
func NewCfnMailManagerAddonSubscription_Override ¶ added in v2.154.0
func NewCfnMailManagerAddonSubscription_Override(c CfnMailManagerAddonSubscription, scope constructs.Construct, id *string, props *CfnMailManagerAddonSubscriptionProps)
func NewCfnMailManagerArchive_Override ¶ added in v2.154.0
func NewCfnMailManagerArchive_Override(c CfnMailManagerArchive, scope constructs.Construct, id *string, props *CfnMailManagerArchiveProps)
func NewCfnMailManagerIngressPoint_Override ¶ added in v2.154.0
func NewCfnMailManagerIngressPoint_Override(c CfnMailManagerIngressPoint, scope constructs.Construct, id *string, props *CfnMailManagerIngressPointProps)
func NewCfnMailManagerRelay_Override ¶ added in v2.154.0
func NewCfnMailManagerRelay_Override(c CfnMailManagerRelay, scope constructs.Construct, id *string, props *CfnMailManagerRelayProps)
func NewCfnMailManagerRuleSet_Override ¶ added in v2.154.0
func NewCfnMailManagerRuleSet_Override(c CfnMailManagerRuleSet, scope constructs.Construct, id *string, props *CfnMailManagerRuleSetProps)
func NewCfnMailManagerTrafficPolicy_Override ¶ added in v2.154.0
func NewCfnMailManagerTrafficPolicy_Override(c CfnMailManagerTrafficPolicy, scope constructs.Construct, id *string, props *CfnMailManagerTrafficPolicyProps)
func NewCfnReceiptFilter_Override ¶
func NewCfnReceiptFilter_Override(c CfnReceiptFilter, scope constructs.Construct, id *string, props *CfnReceiptFilterProps)
func NewCfnReceiptRuleSet_Override ¶
func NewCfnReceiptRuleSet_Override(c CfnReceiptRuleSet, scope constructs.Construct, id *string, props *CfnReceiptRuleSetProps)
func NewCfnReceiptRule_Override ¶
func NewCfnReceiptRule_Override(c CfnReceiptRule, scope constructs.Construct, id *string, props *CfnReceiptRuleProps)
func NewCfnTemplate_Override ¶
func NewCfnTemplate_Override(c CfnTemplate, scope constructs.Construct, id *string, props *CfnTemplateProps)
func NewCfnVdmAttributes_Override ¶ added in v2.51.0
func NewCfnVdmAttributes_Override(c CfnVdmAttributes, scope constructs.Construct, id *string, props *CfnVdmAttributesProps)
func NewConfigurationSetEventDestination_Override ¶ added in v2.74.0
func NewConfigurationSetEventDestination_Override(c ConfigurationSetEventDestination, scope constructs.Construct, id *string, props *ConfigurationSetEventDestinationProps)
func NewConfigurationSet_Override ¶ added in v2.32.0
func NewConfigurationSet_Override(c ConfigurationSet, scope constructs.Construct, id *string, props *ConfigurationSetProps)
func NewDedicatedIpPool_Override ¶ added in v2.32.0
func NewDedicatedIpPool_Override(d DedicatedIpPool, scope constructs.Construct, id *string, props *DedicatedIpPoolProps)
func NewDkimIdentity_Override ¶ added in v2.32.0
func NewDkimIdentity_Override(d DkimIdentity)
func NewDropSpamReceiptRule_Override ¶
func NewDropSpamReceiptRule_Override(d DropSpamReceiptRule, scope constructs.Construct, id *string, props *DropSpamReceiptRuleProps)
func NewEmailIdentity_Override ¶ added in v2.32.0
func NewEmailIdentity_Override(e EmailIdentity, scope constructs.Construct, id *string, props *EmailIdentityProps)
func NewEventDestination_Override ¶ added in v2.74.0
func NewEventDestination_Override(e EventDestination)
func NewIdentity_Override ¶ added in v2.32.0
func NewIdentity_Override(i Identity)
func NewReceiptFilter_Override ¶
func NewReceiptFilter_Override(r ReceiptFilter, scope constructs.Construct, id *string, props *ReceiptFilterProps)
func NewReceiptRuleSet_Override ¶
func NewReceiptRuleSet_Override(r ReceiptRuleSet, scope constructs.Construct, id *string, props *ReceiptRuleSetProps)
func NewReceiptRule_Override ¶
func NewReceiptRule_Override(r ReceiptRule, scope constructs.Construct, id *string, props *ReceiptRuleProps)
func NewVdmAttributes_Override ¶ added in v2.54.0
func NewVdmAttributes_Override(v VdmAttributes, scope constructs.Construct, id *string, props *VdmAttributesProps)
func ReceiptFilter_IsConstruct ¶
func ReceiptFilter_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 ReceiptFilter_IsOwnedResource ¶ added in v2.32.0
func ReceiptFilter_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise.
func ReceiptFilter_IsResource ¶
func ReceiptFilter_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource.
func ReceiptRuleSet_IsConstruct ¶
func ReceiptRuleSet_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 ReceiptRuleSet_IsOwnedResource ¶ added in v2.32.0
func ReceiptRuleSet_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise.
func ReceiptRuleSet_IsResource ¶
func ReceiptRuleSet_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource.
func ReceiptRule_IsConstruct ¶
func ReceiptRule_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 ReceiptRule_IsOwnedResource ¶ added in v2.32.0
func ReceiptRule_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise.
func ReceiptRule_IsResource ¶
func ReceiptRule_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource.
func VdmAttributes_IsConstruct ¶ added in v2.54.0
func VdmAttributes_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 VdmAttributes_IsOwnedResource ¶ added in v2.54.0
func VdmAttributes_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise.
func VdmAttributes_IsResource ¶ added in v2.54.0
func VdmAttributes_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource.
Types ¶
type AddHeaderActionConfig ¶
type AddHeaderActionConfig struct { // The name of the header that you want to add to the incoming message. HeaderName *string `field:"required" json:"headerName" yaml:"headerName"` // The content that you want to include in the header. HeaderValue *string `field:"required" json:"headerValue" yaml:"headerValue"` }
AddHeaderAction 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" addHeaderActionConfig := &AddHeaderActionConfig{ HeaderName: jsii.String("headerName"), HeaderValue: jsii.String("headerValue"), }
type AllowListReceiptFilter ¶
type AllowListReceiptFilter interface { constructs.Construct // The tree node. Node() constructs.Node // Returns a string representation of this construct. ToString() *string }
An allow list receipt filter.
Example:
ses.NewAllowListReceiptFilter(this, jsii.String("AllowList"), &AllowListReceiptFilterProps{ Ips: []*string{ jsii.String("10.0.0.0/16"), jsii.String("1.2.3.4/16"), }, })
func NewAllowListReceiptFilter ¶
func NewAllowListReceiptFilter(scope constructs.Construct, id *string, props *AllowListReceiptFilterProps) AllowListReceiptFilter
type AllowListReceiptFilterProps ¶
type AllowListReceiptFilterProps struct { // A list of ip addresses or ranges to allow list. Ips *[]*string `field:"required" json:"ips" yaml:"ips"` }
Construction properties for am AllowListReceiptFilter.
Example:
ses.NewAllowListReceiptFilter(this, jsii.String("AllowList"), &AllowListReceiptFilterProps{ Ips: []*string{ jsii.String("10.0.0.0/16"), jsii.String("1.2.3.4/16"), }, })
type BounceActionConfig ¶
type BounceActionConfig struct { // Human-readable text to include in the bounce message. Message *string `field:"required" json:"message" yaml:"message"` // The email address of the sender of the bounced email. // // This is the address that the bounce message is sent from. Sender *string `field:"required" json:"sender" yaml:"sender"` // The SMTP reply code, as defined by RFC 5321. SmtpReplyCode *string `field:"required" json:"smtpReplyCode" yaml:"smtpReplyCode"` // The SMTP enhanced status code, as defined by RFC 3463. // Default: - No status code. // StatusCode *string `field:"optional" json:"statusCode" yaml:"statusCode"` // The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. // Default: - No notification is sent to SNS. // TopicArn *string `field:"optional" json:"topicArn" yaml:"topicArn"` }
BoundAction 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" bounceActionConfig := &BounceActionConfig{ Message: jsii.String("message"), Sender: jsii.String("sender"), SmtpReplyCode: jsii.String("smtpReplyCode"), // the properties below are optional StatusCode: jsii.String("statusCode"), TopicArn: jsii.String("topicArn"), }
type ByoDkimOptions ¶ added in v2.32.0
type ByoDkimOptions struct { // The private key that's used to generate a DKIM signature. PrivateKey awscdk.SecretValue `field:"required" json:"privateKey" yaml:"privateKey"` // A string that's used to identify a public key in the DNS configuration for a domain. Selector *string `field:"required" json:"selector" yaml:"selector"` // The public key. // // If specified, a TXT record with the public key is created. // Default: - the validation TXT record with the public key is not created. // PublicKey *string `field:"optional" json:"publicKey" yaml:"publicKey"` }
Options for BYO DKIM.
Example:
var myHostedZone iPublicHostedZone ses.NewEmailIdentity(this, jsii.String("Identity"), &EmailIdentityProps{ Identity: ses.Identity_PublicHostedZone(myHostedZone), DkimIdentity: ses.DkimIdentity_ByoDkim(&ByoDkimOptions{ PrivateKey: awscdk.SecretValue_SecretsManager(jsii.String("dkim-private-key")), PublicKey: jsii.String("...base64-encoded-public-key..."), Selector: jsii.String("selector"), }), })
type CfnConfigurationSet ¶
type CfnConfigurationSet interface { awscdk.CfnResource awscdk.IInspectable // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // 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 // Specifies the name of the dedicated IP pool to associate with the configuration set and whether messages that use the configuration set are required to use Transport Layer Security (TLS). DeliveryOptions() interface{} SetDeliveryOptions(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 name of the configuration set. // // The name must meet the following requirements:. 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 // An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set. ReputationOptions() interface{} SetReputationOptions(val interface{}) // An object that defines whether or not Amazon SES can send email that you send using the configuration set. SendingOptions() interface{} SetSendingOptions(val interface{}) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // An object that contains information about the suppression list preferences for your account. SuppressionOptions() interface{} SetSuppressionOptions(val interface{}) // An object that defines the open and click tracking options for emails that you send using the configuration set. TrackingOptions() interface{} SetTrackingOptions(val interface{}) // 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{} // The Virtual Deliverability Manager (VDM) options that apply to the configuration set. VdmOptions() interface{} SetVdmOptions(val 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) // 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{}) }
Configuration sets let you create groups of rules that you can apply to the emails you send using Amazon SES.
For more information about using configuration sets, see [Using Amazon SES Configuration Sets](https://docs.aws.amazon.com/ses/latest/dg/using-configuration-sets.html) in the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/) .
> *Required permissions:* > > To apply any of the resource options, you will need to have the corresponding AWS Identity and Access Management (IAM) SES API v2 permissions: > > - `ses:GetConfigurationSet` > > - (This permission is replacing the v1 *ses:DescribeConfigurationSet* permission which will not work with these v2 resource options.) > - `ses:PutConfigurationSetDeliveryOptions` > - `ses:PutConfigurationSetReputationOptions` > - `ses:PutConfigurationSetSendingOptions` > - `ses:PutConfigurationSetSuppressionOptions` > - `ses:PutConfigurationSetTrackingOptions`.
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" cfnConfigurationSet := awscdk.Aws_ses.NewCfnConfigurationSet(this, jsii.String("MyCfnConfigurationSet"), &CfnConfigurationSetProps{ DeliveryOptions: &DeliveryOptionsProperty{ SendingPoolName: jsii.String("sendingPoolName"), TlsPolicy: jsii.String("tlsPolicy"), }, Name: jsii.String("name"), ReputationOptions: &ReputationOptionsProperty{ ReputationMetricsEnabled: jsii.Boolean(false), }, SendingOptions: &SendingOptionsProperty{ SendingEnabled: jsii.Boolean(false), }, SuppressionOptions: &SuppressionOptionsProperty{ SuppressedReasons: []*string{ jsii.String("suppressedReasons"), }, }, TrackingOptions: &TrackingOptionsProperty{ CustomRedirectDomain: jsii.String("customRedirectDomain"), }, VdmOptions: &VdmOptionsProperty{ DashboardOptions: &DashboardOptionsProperty{ EngagementMetrics: jsii.String("engagementMetrics"), }, GuardianOptions: &GuardianOptionsProperty{ OptimizedSharedDelivery: jsii.String("optimizedSharedDelivery"), }, }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationset.html
func NewCfnConfigurationSet ¶
func NewCfnConfigurationSet(scope constructs.Construct, id *string, props *CfnConfigurationSetProps) CfnConfigurationSet
type CfnConfigurationSetEventDestination ¶
type CfnConfigurationSetEventDestination interface { awscdk.CfnResource awscdk.IInspectable AttrId() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // The name of the configuration set that contains the event destination. ConfigurationSetName() *string SetConfigurationSetName(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 // An object that defines the event destination. EventDestination() interface{} SetEventDestination(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 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 // 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) // 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{}) }
Specifies a configuration set event destination.
*Events* include message sends, deliveries, opens, clicks, bounces, and complaints. *Event destinations* are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
A single configuration set can include more than one event destination.
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" cfnConfigurationSetEventDestination := awscdk.Aws_ses.NewCfnConfigurationSetEventDestination(this, jsii.String("MyCfnConfigurationSetEventDestination"), &CfnConfigurationSetEventDestinationProps{ ConfigurationSetName: jsii.String("configurationSetName"), EventDestination: &EventDestinationProperty{ MatchingEventTypes: []*string{ jsii.String("matchingEventTypes"), }, // the properties below are optional CloudWatchDestination: &CloudWatchDestinationProperty{ DimensionConfigurations: []interface{}{ &DimensionConfigurationProperty{ DefaultDimensionValue: jsii.String("defaultDimensionValue"), DimensionName: jsii.String("dimensionName"), DimensionValueSource: jsii.String("dimensionValueSource"), }, }, }, Enabled: jsii.Boolean(false), EventBridgeDestination: &EventBridgeDestinationProperty{ EventBusArn: jsii.String("eventBusArn"), }, KinesisFirehoseDestination: &KinesisFirehoseDestinationProperty{ DeliveryStreamArn: jsii.String("deliveryStreamArn"), IamRoleArn: jsii.String("iamRoleArn"), }, Name: jsii.String("name"), SnsDestination: &SnsDestinationProperty{ TopicArn: jsii.String("topicArn"), }, }, })
func NewCfnConfigurationSetEventDestination ¶
func NewCfnConfigurationSetEventDestination(scope constructs.Construct, id *string, props *CfnConfigurationSetEventDestinationProps) CfnConfigurationSetEventDestination
type CfnConfigurationSetEventDestinationProps ¶
type CfnConfigurationSetEventDestinationProps struct { // The name of the configuration set that contains the event destination. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationseteventdestination.html#cfn-ses-configurationseteventdestination-configurationsetname // ConfigurationSetName *string `field:"required" json:"configurationSetName" yaml:"configurationSetName"` // An object that defines the event destination. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationseteventdestination.html#cfn-ses-configurationseteventdestination-eventdestination // EventDestination interface{} `field:"required" json:"eventDestination" yaml:"eventDestination"` }
Properties for defining a `CfnConfigurationSetEventDestination`.
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" cfnConfigurationSetEventDestinationProps := &CfnConfigurationSetEventDestinationProps{ ConfigurationSetName: jsii.String("configurationSetName"), EventDestination: &EventDestinationProperty{ MatchingEventTypes: []*string{ jsii.String("matchingEventTypes"), }, // the properties below are optional CloudWatchDestination: &CloudWatchDestinationProperty{ DimensionConfigurations: []interface{}{ &DimensionConfigurationProperty{ DefaultDimensionValue: jsii.String("defaultDimensionValue"), DimensionName: jsii.String("dimensionName"), DimensionValueSource: jsii.String("dimensionValueSource"), }, }, }, Enabled: jsii.Boolean(false), EventBridgeDestination: &EventBridgeDestinationProperty{ EventBusArn: jsii.String("eventBusArn"), }, KinesisFirehoseDestination: &KinesisFirehoseDestinationProperty{ DeliveryStreamArn: jsii.String("deliveryStreamArn"), IamRoleArn: jsii.String("iamRoleArn"), }, Name: jsii.String("name"), SnsDestination: &SnsDestinationProperty{ TopicArn: jsii.String("topicArn"), }, }, }
type CfnConfigurationSetEventDestination_CloudWatchDestinationProperty ¶
type CfnConfigurationSetEventDestination_CloudWatchDestinationProperty struct { // An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-cloudwatchdestination.html#cfn-ses-configurationseteventdestination-cloudwatchdestination-dimensionconfigurations // DimensionConfigurations interface{} `field:"optional" json:"dimensionConfigurations" yaml:"dimensionConfigurations"` }
An object that defines an Amazon CloudWatch destination for email events.
You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.
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" cloudWatchDestinationProperty := &CloudWatchDestinationProperty{ DimensionConfigurations: []interface{}{ &DimensionConfigurationProperty{ DefaultDimensionValue: jsii.String("defaultDimensionValue"), DimensionName: jsii.String("dimensionName"), DimensionValueSource: jsii.String("dimensionValueSource"), }, }, }
type CfnConfigurationSetEventDestination_DimensionConfigurationProperty ¶
type CfnConfigurationSetEventDestination_DimensionConfigurationProperty struct { // The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email. // // This value has to meet the following criteria: // // - Can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-), at signs (@), and periods (.). // - It can contain no more than 256 characters. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-dimensionconfiguration.html#cfn-ses-configurationseteventdestination-dimensionconfiguration-defaultdimensionvalue // DefaultDimensionValue *string `field:"required" json:"defaultDimensionValue" yaml:"defaultDimensionValue"` // The name of an Amazon CloudWatch dimension associated with an email sending metric. // // The name has to meet the following criteria: // // - It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-). // - It can contain no more than 256 characters. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-dimensionconfiguration.html#cfn-ses-configurationseteventdestination-dimensionconfiguration-dimensionname // DimensionName *string `field:"required" json:"dimensionName" yaml:"dimensionName"` // The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. // // To use the message tags that you specify using an `X-SES-MESSAGE-TAGS` header or a parameter to the `SendEmail` or `SendRawEmail` API, choose `messageTag` . To use your own email headers, choose `emailHeader` . To use link tags, choose `linkTag` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-dimensionconfiguration.html#cfn-ses-configurationseteventdestination-dimensionconfiguration-dimensionvaluesource // DimensionValueSource *string `field:"required" json:"dimensionValueSource" yaml:"dimensionValueSource"` }
An object that defines the dimension configuration to use when you send email events to Amazon CloudWatch.
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" dimensionConfigurationProperty := &DimensionConfigurationProperty{ DefaultDimensionValue: jsii.String("defaultDimensionValue"), DimensionName: jsii.String("dimensionName"), DimensionValueSource: jsii.String("dimensionValueSource"), }
type CfnConfigurationSetEventDestination_EventBridgeDestinationProperty ¶ added in v2.148.0
type CfnConfigurationSetEventDestination_EventBridgeDestinationProperty struct { // The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. // // Only the default bus is supported. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventbridgedestination.html#cfn-ses-configurationseteventdestination-eventbridgedestination-eventbusarn // EventBusArn *string `field:"required" json:"eventBusArn" yaml:"eventBusArn"` }
An object that defines an Amazon EventBridge destination for email events.
You can use Amazon EventBridge to send notifications when certain email events occur.
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" eventBridgeDestinationProperty := &EventBridgeDestinationProperty{ EventBusArn: jsii.String("eventBusArn"), }
type CfnConfigurationSetEventDestination_EventDestinationProperty ¶
type CfnConfigurationSetEventDestination_EventDestinationProperty struct { // The types of events that Amazon SES sends to the specified event destinations. // // - `SEND` - The send request was successful and SES will attempt to deliver the message to the recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as a send, but delivery is suppressed.) // - `REJECT` - SES accepted the email, but determined that it contained a virus and didn’t attempt to deliver it to the recipient’s mail server. // - `BOUNCE` - ( *Hard bounce* ) The recipient's mail server permanently rejected the email. ( *Soft bounces* are only included when SES fails to deliver the email after retrying for a period of time.) // - `COMPLAINT` - The email was successfully delivered to the recipient’s mail server, but the recipient marked it as spam. // - `DELIVERY` - SES successfully delivered the email to the recipient's mail server. // - `OPEN` - The recipient received the message and opened it in their email client. // - `CLICK` - The recipient clicked one or more links in the email. // - `RENDERING_FAILURE` - The email wasn't sent because of a template rendering issue. This event type can occur when template data is missing, or when there is a mismatch between template parameters and data. (This event type only occurs when you send email using the [`SendTemplatedEmail`](https://docs.aws.amazon.com/ses/latest/APIReference/API_SendTemplatedEmail.html) or [`SendBulkTemplatedEmail`](https://docs.aws.amazon.com/ses/latest/APIReference/API_SendBulkTemplatedEmail.html) API operations.) // - `DELIVERY_DELAY` - The email couldn't be delivered to the recipient’s mail server because a temporary issue occurred. Delivery delays can occur, for example, when the recipient's inbox is full, or when the receiving email server experiences a transient issue. // - `SUBSCRIPTION` - The email was successfully delivered, but the recipient updated their subscription preferences by clicking on an *unsubscribe* link as part of your [subscription management](https://docs.aws.amazon.com/ses/latest/dg/sending-email-subscription-management.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-matchingeventtypes // MatchingEventTypes *[]*string `field:"required" json:"matchingEventTypes" yaml:"matchingEventTypes"` // An object that defines an Amazon CloudWatch destination for email events. // // You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-cloudwatchdestination // CloudWatchDestination interface{} `field:"optional" json:"cloudWatchDestination" yaml:"cloudWatchDestination"` // If `true` , the event destination is enabled. // // When the event destination is enabled, the specified event types are sent to the destinations in this `EventDestinationDefinition` . // // If `false` , the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-enabled // Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"` // An object that defines an Amazon EventBridge destination for email events. // // You can use Amazon EventBridge to send notifications when certain email events occur. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-eventbridgedestination // EventBridgeDestination interface{} `field:"optional" json:"eventBridgeDestination" yaml:"eventBridgeDestination"` // An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-kinesisfirehosedestination // KinesisFirehoseDestination interface{} `field:"optional" json:"kinesisFirehoseDestination" yaml:"kinesisFirehoseDestination"` // The name of the event destination. The name must meet the following requirements:. // // - Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). // - Contain 64 characters or fewer. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-name // Name *string `field:"optional" json:"name" yaml:"name"` // An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-snsdestination // SnsDestination interface{} `field:"optional" json:"snsDestination" yaml:"snsDestination"` }
In the Amazon SES API v2, *events* include message sends, deliveries, opens, clicks, bounces, complaints and delivery delays.
*Event destinations* are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
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" eventDestinationProperty := &EventDestinationProperty{ MatchingEventTypes: []*string{ jsii.String("matchingEventTypes"), }, // the properties below are optional CloudWatchDestination: &CloudWatchDestinationProperty{ DimensionConfigurations: []interface{}{ &DimensionConfigurationProperty{ DefaultDimensionValue: jsii.String("defaultDimensionValue"), DimensionName: jsii.String("dimensionName"), DimensionValueSource: jsii.String("dimensionValueSource"), }, }, }, Enabled: jsii.Boolean(false), EventBridgeDestination: &EventBridgeDestinationProperty{ EventBusArn: jsii.String("eventBusArn"), }, KinesisFirehoseDestination: &KinesisFirehoseDestinationProperty{ DeliveryStreamArn: jsii.String("deliveryStreamArn"), IamRoleArn: jsii.String("iamRoleArn"), }, Name: jsii.String("name"), SnsDestination: &SnsDestinationProperty{ TopicArn: jsii.String("topicArn"), }, }
type CfnConfigurationSetEventDestination_KinesisFirehoseDestinationProperty ¶
type CfnConfigurationSetEventDestination_KinesisFirehoseDestinationProperty struct { // The ARN of the Amazon Kinesis Firehose stream that email sending events should be published to. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-kinesisfirehosedestination.html#cfn-ses-configurationseteventdestination-kinesisfirehosedestination-deliverystreamarn // DeliveryStreamArn *string `field:"required" json:"deliveryStreamArn" yaml:"deliveryStreamArn"` // The Amazon Resource Name (ARN) of the IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-kinesisfirehosedestination.html#cfn-ses-configurationseteventdestination-kinesisfirehosedestination-iamrolearn // IamRoleArn *string `field:"required" json:"iamRoleArn" yaml:"iamRoleArn"` }
An object that defines an Amazon Kinesis Data Firehose destination for email events.
You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift.
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" kinesisFirehoseDestinationProperty := &KinesisFirehoseDestinationProperty{ DeliveryStreamArn: jsii.String("deliveryStreamArn"), IamRoleArn: jsii.String("iamRoleArn"), }
type CfnConfigurationSetEventDestination_SnsDestinationProperty ¶ added in v2.29.0
type CfnConfigurationSetEventDestination_SnsDestinationProperty struct { // The ARN of the Amazon SNS topic for email sending events. // // You can find the ARN of a topic by using the [ListTopics](https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html) Amazon SNS operation. // // For more information about Amazon SNS topics, see the [Amazon SNS Developer Guide](https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-snsdestination.html#cfn-ses-configurationseteventdestination-snsdestination-topicarn // TopicArn *string `field:"required" json:"topicArn" yaml:"topicArn"` }
Contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
Event destinations, such as Amazon SNS, are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/monitor-sending-activity.html) .
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" snsDestinationProperty := &SnsDestinationProperty{ TopicArn: jsii.String("topicArn"), }
type CfnConfigurationSetProps ¶
type CfnConfigurationSetProps struct { // Specifies the name of the dedicated IP pool to associate with the configuration set and whether messages that use the configuration set are required to use Transport Layer Security (TLS). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationset.html#cfn-ses-configurationset-deliveryoptions // DeliveryOptions interface{} `field:"optional" json:"deliveryOptions" yaml:"deliveryOptions"` // The name of the configuration set. The name must meet the following requirements:. // // - Contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). // - Contain 64 characters or fewer. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationset.html#cfn-ses-configurationset-name // Name *string `field:"optional" json:"name" yaml:"name"` // An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationset.html#cfn-ses-configurationset-reputationoptions // ReputationOptions interface{} `field:"optional" json:"reputationOptions" yaml:"reputationOptions"` // An object that defines whether or not Amazon SES can send email that you send using the configuration set. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationset.html#cfn-ses-configurationset-sendingoptions // SendingOptions interface{} `field:"optional" json:"sendingOptions" yaml:"sendingOptions"` // An object that contains information about the suppression list preferences for your account. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationset.html#cfn-ses-configurationset-suppressionoptions // SuppressionOptions interface{} `field:"optional" json:"suppressionOptions" yaml:"suppressionOptions"` // An object that defines the open and click tracking options for emails that you send using the configuration set. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationset.html#cfn-ses-configurationset-trackingoptions // TrackingOptions interface{} `field:"optional" json:"trackingOptions" yaml:"trackingOptions"` // The Virtual Deliverability Manager (VDM) options that apply to the configuration set. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationset.html#cfn-ses-configurationset-vdmoptions // VdmOptions interface{} `field:"optional" json:"vdmOptions" yaml:"vdmOptions"` }
Properties for defining a `CfnConfigurationSet`.
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" cfnConfigurationSetProps := &CfnConfigurationSetProps{ DeliveryOptions: &DeliveryOptionsProperty{ SendingPoolName: jsii.String("sendingPoolName"), TlsPolicy: jsii.String("tlsPolicy"), }, Name: jsii.String("name"), ReputationOptions: &ReputationOptionsProperty{ ReputationMetricsEnabled: jsii.Boolean(false), }, SendingOptions: &SendingOptionsProperty{ SendingEnabled: jsii.Boolean(false), }, SuppressionOptions: &SuppressionOptionsProperty{ SuppressedReasons: []*string{ jsii.String("suppressedReasons"), }, }, TrackingOptions: &TrackingOptionsProperty{ CustomRedirectDomain: jsii.String("customRedirectDomain"), }, VdmOptions: &VdmOptionsProperty{ DashboardOptions: &DashboardOptionsProperty{ EngagementMetrics: jsii.String("engagementMetrics"), }, GuardianOptions: &GuardianOptionsProperty{ OptimizedSharedDelivery: jsii.String("optimizedSharedDelivery"), }, }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationset.html
type CfnConfigurationSet_DashboardOptionsProperty ¶ added in v2.51.0
type CfnConfigurationSet_DashboardOptionsProperty struct { // Specifies the status of your VDM engagement metrics collection. Can be one of the following:. // // - `ENABLED` – Amazon SES enables engagement metrics for the configuration set. // - `DISABLED` – Amazon SES disables engagement metrics for the configuration set. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationset-dashboardoptions.html#cfn-ses-configurationset-dashboardoptions-engagementmetrics // EngagementMetrics *string `field:"required" json:"engagementMetrics" yaml:"engagementMetrics"` }
An object containing additional settings for your VDM configuration as applicable to the Dashboard.
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" dashboardOptionsProperty := &DashboardOptionsProperty{ EngagementMetrics: jsii.String("engagementMetrics"), }
type CfnConfigurationSet_DeliveryOptionsProperty ¶ added in v2.29.0
type CfnConfigurationSet_DeliveryOptionsProperty struct { // The name of the dedicated IP pool to associate with the configuration set. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationset-deliveryoptions.html#cfn-ses-configurationset-deliveryoptions-sendingpoolname // SendingPoolName *string `field:"optional" json:"sendingPoolName" yaml:"sendingPoolName"` // Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). // // If the value is `REQUIRE` , messages are only delivered if a TLS connection can be established. If the value is `OPTIONAL` , messages can be delivered in plain text if a TLS connection can't be established. // // Valid Values: `REQUIRE | OPTIONAL`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationset-deliveryoptions.html#cfn-ses-configurationset-deliveryoptions-tlspolicy // TlsPolicy *string `field:"optional" json:"tlsPolicy" yaml:"tlsPolicy"` }
Specifies the name of the dedicated IP pool to associate with the configuration set and whether messages that use the configuration set are required to use Transport Layer Security (TLS).
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" deliveryOptionsProperty := &DeliveryOptionsProperty{ SendingPoolName: jsii.String("sendingPoolName"), TlsPolicy: jsii.String("tlsPolicy"), }
type CfnConfigurationSet_GuardianOptionsProperty ¶ added in v2.51.0
type CfnConfigurationSet_GuardianOptionsProperty struct { // // - `ENABLED` – Amazon SES enables optimized shared delivery for the configuration set. // - `DISABLED` – Amazon SES disables optimized shared delivery for the configuration set. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationset-guardianoptions.html#cfn-ses-configurationset-guardianoptions-optimizedshareddelivery // OptimizedSharedDelivery *string `field:"required" json:"optimizedSharedDelivery" yaml:"optimizedSharedDelivery"` }
An object containing additional settings for your VDM configuration as applicable to the Guardian.
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" guardianOptionsProperty := &GuardianOptionsProperty{ OptimizedSharedDelivery: jsii.String("optimizedSharedDelivery"), }
type CfnConfigurationSet_ReputationOptionsProperty ¶ added in v2.29.0
type CfnConfigurationSet_ReputationOptionsProperty struct { // If `true` , tracking of reputation metrics is enabled for the configuration set. // // If `false` , tracking of reputation metrics is disabled for the configuration set. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationset-reputationoptions.html#cfn-ses-configurationset-reputationoptions-reputationmetricsenabled // ReputationMetricsEnabled interface{} `field:"optional" json:"reputationMetricsEnabled" yaml:"reputationMetricsEnabled"` }
Enable or disable collection of reputation metrics for emails that you send using this configuration set in the current AWS Region.
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" reputationOptionsProperty := &ReputationOptionsProperty{ ReputationMetricsEnabled: jsii.Boolean(false), }
type CfnConfigurationSet_SendingOptionsProperty ¶ added in v2.29.0
type CfnConfigurationSet_SendingOptionsProperty struct { // If `true` , email sending is enabled for the configuration set. // // If `false` , email sending is disabled for the configuration set. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationset-sendingoptions.html#cfn-ses-configurationset-sendingoptions-sendingenabled // SendingEnabled interface{} `field:"optional" json:"sendingEnabled" yaml:"sendingEnabled"` }
Used to enable or disable email sending for messages that use this configuration set in the current AWS Region.
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" sendingOptionsProperty := &SendingOptionsProperty{ SendingEnabled: jsii.Boolean(false), }
type CfnConfigurationSet_SuppressionOptionsProperty ¶ added in v2.29.0
type CfnConfigurationSet_SuppressionOptionsProperty struct { // A list that contains the reasons that email addresses are automatically added to the suppression list for your account. // // This list can contain any or all of the following: // // - `COMPLAINT` – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. // - `BOUNCE` – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationset-suppressionoptions.html#cfn-ses-configurationset-suppressionoptions-suppressedreasons // SuppressedReasons *[]*string `field:"optional" json:"suppressedReasons" yaml:"suppressedReasons"` }
An object that contains information about the suppression list preferences for your account.
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" suppressionOptionsProperty := &SuppressionOptionsProperty{ SuppressedReasons: []*string{ jsii.String("suppressedReasons"), }, }
type CfnConfigurationSet_TrackingOptionsProperty ¶ added in v2.29.0
type CfnConfigurationSet_TrackingOptionsProperty struct { // The custom subdomain that is used to redirect email recipients to the Amazon SES event tracking domain. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationset-trackingoptions.html#cfn-ses-configurationset-trackingoptions-customredirectdomain // CustomRedirectDomain *string `field:"optional" json:"customRedirectDomain" yaml:"customRedirectDomain"` }
An object that defines the tracking options for a configuration set.
When you use the Amazon SES API v2 to send an email, it contains an invisible image that's used to track when recipients open your email. If your email contains links, those links are changed slightly in order to track when recipients click them.
You can optionally configure a custom subdomain that is used to redirect email recipients to an Amazon SES-operated domain. This domain captures open and click events generated by Amazon SES emails.
For more information, see [Configuring Custom Domains to Handle Open and Click Tracking](https://docs.aws.amazon.com/ses/latest/dg/configure-custom-open-click-domains.html) in the *Amazon SES Developer Guide* .
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" trackingOptionsProperty := &TrackingOptionsProperty{ CustomRedirectDomain: jsii.String("customRedirectDomain"), }
type CfnConfigurationSet_VdmOptionsProperty ¶ added in v2.51.0
type CfnConfigurationSet_VdmOptionsProperty struct { // Specifies additional settings for your VDM configuration as applicable to the Dashboard. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationset-vdmoptions.html#cfn-ses-configurationset-vdmoptions-dashboardoptions // DashboardOptions interface{} `field:"optional" json:"dashboardOptions" yaml:"dashboardOptions"` // Specifies additional settings for your VDM configuration as applicable to the Guardian. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationset-vdmoptions.html#cfn-ses-configurationset-vdmoptions-guardianoptions // GuardianOptions interface{} `field:"optional" json:"guardianOptions" yaml:"guardianOptions"` }
The Virtual Deliverability Manager (VDM) options that apply to a configuration set.
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" vdmOptionsProperty := &VdmOptionsProperty{ DashboardOptions: &DashboardOptionsProperty{ EngagementMetrics: jsii.String("engagementMetrics"), }, GuardianOptions: &GuardianOptionsProperty{ OptimizedSharedDelivery: jsii.String("optimizedSharedDelivery"), }, }
type CfnContactList ¶
type CfnContactList interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggable // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // The name of the contact list. ContactListName() *string SetContactListName(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 what the contact list is about. Description() *string SetDescription(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 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 // Tag Manager which manages the tags for this resource. Tags() awscdk.TagManager // The tags associated with a contact list. TagsRaw() *[]*awscdk.CfnTag SetTagsRaw(val *[]*awscdk.CfnTag) // An interest group, theme, or label within a list. Topics() interface{} SetTopics(val interface{}) // 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) // 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{}) }
A list that contains contacts that have subscribed to a particular topic or topics.
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" cfnContactList := awscdk.Aws_ses.NewCfnContactList(this, jsii.String("MyCfnContactList"), &CfnContactListProps{ ContactListName: jsii.String("contactListName"), Description: jsii.String("description"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, Topics: []interface{}{ &TopicProperty{ DefaultSubscriptionStatus: jsii.String("defaultSubscriptionStatus"), DisplayName: jsii.String("displayName"), TopicName: jsii.String("topicName"), // the properties below are optional Description: jsii.String("description"), }, }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-contactlist.html
func NewCfnContactList ¶
func NewCfnContactList(scope constructs.Construct, id *string, props *CfnContactListProps) CfnContactList
type CfnContactListProps ¶
type CfnContactListProps struct { // The name of the contact list. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-contactlist.html#cfn-ses-contactlist-contactlistname // ContactListName *string `field:"optional" json:"contactListName" yaml:"contactListName"` // A description of what the contact list is about. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-contactlist.html#cfn-ses-contactlist-description // Description *string `field:"optional" json:"description" yaml:"description"` // The tags associated with a contact list. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-contactlist.html#cfn-ses-contactlist-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` // An interest group, theme, or label within a list. // // A contact list can have multiple topics. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-contactlist.html#cfn-ses-contactlist-topics // Topics interface{} `field:"optional" json:"topics" yaml:"topics"` }
Properties for defining a `CfnContactList`.
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" cfnContactListProps := &CfnContactListProps{ ContactListName: jsii.String("contactListName"), Description: jsii.String("description"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, Topics: []interface{}{ &TopicProperty{ DefaultSubscriptionStatus: jsii.String("defaultSubscriptionStatus"), DisplayName: jsii.String("displayName"), TopicName: jsii.String("topicName"), // the properties below are optional Description: jsii.String("description"), }, }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-contactlist.html
type CfnContactList_TopicProperty ¶
type CfnContactList_TopicProperty struct { // The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-contactlist-topic.html#cfn-ses-contactlist-topic-defaultsubscriptionstatus // DefaultSubscriptionStatus *string `field:"required" json:"defaultSubscriptionStatus" yaml:"defaultSubscriptionStatus"` // The name of the topic the contact will see. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-contactlist-topic.html#cfn-ses-contactlist-topic-displayname // DisplayName *string `field:"required" json:"displayName" yaml:"displayName"` // The name of the topic. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-contactlist-topic.html#cfn-ses-contactlist-topic-topicname // TopicName *string `field:"required" json:"topicName" yaml:"topicName"` // A description of what the topic is about, which the contact will see. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-contactlist-topic.html#cfn-ses-contactlist-topic-description // Description *string `field:"optional" json:"description" yaml:"description"` }
An interest group, theme, or label within a list.
Lists can have multiple topics.
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" topicProperty := &TopicProperty{ DefaultSubscriptionStatus: jsii.String("defaultSubscriptionStatus"), DisplayName: jsii.String("displayName"), TopicName: jsii.String("topicName"), // the properties below are optional Description: jsii.String("description"), }
type CfnDedicatedIpPool ¶ added in v2.31.0
type CfnDedicatedIpPool interface { awscdk.CfnResource awscdk.IInspectable // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // 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 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 tree node. Node() constructs.Node // The name of the dedicated IP pool that the IP address is associated with. PoolName() *string SetPoolName(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 type of scaling mode. ScalingMode() *string SetScalingMode(val *string) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // 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) // 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{}) }
Create a new pool of dedicated IP addresses.
A pool can include one or more dedicated IP addresses that are associated with your AWS account . You can associate a pool with a configuration set. When you send an email that uses that configuration set, the message is sent from one of the addresses in the associated pool.
> You can't delete dedicated IP pools that have a `STANDARD` scaling mode with one or more dedicated IP addresses. This constraint doesn't apply to dedicated IP pools that have a `MANAGED` scaling mode.
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" cfnDedicatedIpPool := awscdk.Aws_ses.NewCfnDedicatedIpPool(this, jsii.String("MyCfnDedicatedIpPool"), &CfnDedicatedIpPoolProps{ PoolName: jsii.String("poolName"), ScalingMode: jsii.String("scalingMode"), })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-dedicatedippool.html
func NewCfnDedicatedIpPool ¶ added in v2.31.0
func NewCfnDedicatedIpPool(scope constructs.Construct, id *string, props *CfnDedicatedIpPoolProps) CfnDedicatedIpPool
type CfnDedicatedIpPoolProps ¶ added in v2.31.0
type CfnDedicatedIpPoolProps struct { // The name of the dedicated IP pool that the IP address is associated with. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-dedicatedippool.html#cfn-ses-dedicatedippool-poolname // PoolName *string `field:"optional" json:"poolName" yaml:"poolName"` // The type of scaling mode. // // The following options are available: // // - `STANDARD` - The customer controls which IPs are part of the dedicated IP pool. // - `MANAGED` - The reputation and number of IPs are automatically managed by Amazon SES . // // The `STANDARD` option is selected by default if no value is specified. // // > Updating *ScalingMode* doesn't require a replacement if you're updating its value from `STANDARD` to `MANAGED` . However, updating *ScalingMode* from `MANAGED` to `STANDARD` is not supported. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-dedicatedippool.html#cfn-ses-dedicatedippool-scalingmode // ScalingMode *string `field:"optional" json:"scalingMode" yaml:"scalingMode"` }
Properties for defining a `CfnDedicatedIpPool`.
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" cfnDedicatedIpPoolProps := &CfnDedicatedIpPoolProps{ PoolName: jsii.String("poolName"), ScalingMode: jsii.String("scalingMode"), }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-dedicatedippool.html
type CfnEmailIdentity ¶ added in v2.31.0
type CfnEmailIdentity interface { awscdk.CfnResource awscdk.IInspectable // The host name for the first token that you have to add to the DNS configuration for your domain. AttrDkimDnsTokenName1() *string // The host name for the second token that you have to add to the DNS configuration for your domain. AttrDkimDnsTokenName2() *string // The host name for the third token that you have to add to the DNS configuration for your domain. AttrDkimDnsTokenName3() *string // The record value for the first token that you have to add to the DNS configuration for your domain. AttrDkimDnsTokenValue1() *string // The record value for the second token that you have to add to the DNS configuration for your domain. AttrDkimDnsTokenValue2() *string // The record value for the third token that you have to add to the DNS configuration for your domain. AttrDkimDnsTokenValue3() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Used to associate a configuration set with an email identity. ConfigurationSetAttributes() interface{} SetConfigurationSetAttributes(val interface{}) // 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 // An object that contains information about the DKIM attributes for the identity. DkimAttributes() interface{} SetDkimAttributes(val interface{}) // If your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for [Easy DKIM](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html) . DkimSigningAttributes() interface{} SetDkimSigningAttributes(val interface{}) // The email address or domain to verify. EmailIdentity() *string SetEmailIdentity(val *string) // Used to enable or disable feedback forwarding for an identity. FeedbackAttributes() interface{} SetFeedbackAttributes(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 // Used to enable or disable the custom Mail-From domain configuration for an email identity. MailFromAttributes() interface{} SetMailFromAttributes(val interface{}) // 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 // 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) // 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{}) }
Specifies an identity for using within SES.
An identity is an email address or domain that you use when you send email. Before you can use an identity to send email, you first have to verify it. By verifying an identity, you demonstrate that you're the owner of the identity, and that you've given Amazon SES API v2 permission to send email from the identity.
When you verify an email address, SES sends an email to the address. Your email address is verified as soon as you follow the link in the verification email. When you verify a domain without specifying the `DkimSigningAttributes` properties, OR only the `NextSigningKeyLength` property of `DkimSigningAttributes` , this resource provides a set of CNAME token names and values ( *DkimDNSTokenName1* , *DkimDNSTokenValue1* , *DkimDNSTokenName2* , *DkimDNSTokenValue2* , *DkimDNSTokenName3* , *DkimDNSTokenValue3* ) as outputs. You can then add these to the DNS configuration for your domain. Your domain is verified when Amazon SES detects these records in the DNS configuration for your domain. This verification method is known as Easy DKIM.
Alternatively, you can perform the verification process by providing your own public-private key pair. This verification method is known as Bring Your Own DKIM (BYODKIM). To use BYODKIM, your resource must include `DkimSigningAttributes` properties `DomainSigningSelector` and `DomainSigningPrivateKey` . When you specify this object, you provide a selector ( `DomainSigningSelector` ) (a component of the DNS record name that identifies the public key to use for DKIM authentication) and a private key ( `DomainSigningPrivateKey` ).
Additionally, you can associate an existing configuration set with the email identity that you're verifying.
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" cfnEmailIdentity := awscdk.Aws_ses.NewCfnEmailIdentity(this, jsii.String("MyCfnEmailIdentity"), &CfnEmailIdentityProps{ EmailIdentity: jsii.String("emailIdentity"), // the properties below are optional ConfigurationSetAttributes: &ConfigurationSetAttributesProperty{ ConfigurationSetName: jsii.String("configurationSetName"), }, DkimAttributes: &DkimAttributesProperty{ SigningEnabled: jsii.Boolean(false), }, DkimSigningAttributes: &DkimSigningAttributesProperty{ DomainSigningPrivateKey: jsii.String("domainSigningPrivateKey"), DomainSigningSelector: jsii.String("domainSigningSelector"), NextSigningKeyLength: jsii.String("nextSigningKeyLength"), }, FeedbackAttributes: &FeedbackAttributesProperty{ EmailForwardingEnabled: jsii.Boolean(false), }, MailFromAttributes: &MailFromAttributesProperty{ BehaviorOnMxFailure: jsii.String("behaviorOnMxFailure"), MailFromDomain: jsii.String("mailFromDomain"), }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-emailidentity.html
func NewCfnEmailIdentity ¶ added in v2.31.0
func NewCfnEmailIdentity(scope constructs.Construct, id *string, props *CfnEmailIdentityProps) CfnEmailIdentity
type CfnEmailIdentityProps ¶ added in v2.31.0
type CfnEmailIdentityProps struct { // The email address or domain to verify. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-emailidentity.html#cfn-ses-emailidentity-emailidentity // EmailIdentity *string `field:"required" json:"emailIdentity" yaml:"emailIdentity"` // Used to associate a configuration set with an email identity. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-emailidentity.html#cfn-ses-emailidentity-configurationsetattributes // ConfigurationSetAttributes interface{} `field:"optional" json:"configurationSetAttributes" yaml:"configurationSetAttributes"` // An object that contains information about the DKIM attributes for the identity. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-emailidentity.html#cfn-ses-emailidentity-dkimattributes // DkimAttributes interface{} `field:"optional" json:"dkimAttributes" yaml:"dkimAttributes"` // If your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for [Easy DKIM](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html) . // // You can only specify this object if the email identity is a domain, as opposed to an address. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-emailidentity.html#cfn-ses-emailidentity-dkimsigningattributes // DkimSigningAttributes interface{} `field:"optional" json:"dkimSigningAttributes" yaml:"dkimSigningAttributes"` // Used to enable or disable feedback forwarding for an identity. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-emailidentity.html#cfn-ses-emailidentity-feedbackattributes // FeedbackAttributes interface{} `field:"optional" json:"feedbackAttributes" yaml:"feedbackAttributes"` // Used to enable or disable the custom Mail-From domain configuration for an email identity. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-emailidentity.html#cfn-ses-emailidentity-mailfromattributes // MailFromAttributes interface{} `field:"optional" json:"mailFromAttributes" yaml:"mailFromAttributes"` }
Properties for defining a `CfnEmailIdentity`.
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" cfnEmailIdentityProps := &CfnEmailIdentityProps{ EmailIdentity: jsii.String("emailIdentity"), // the properties below are optional ConfigurationSetAttributes: &ConfigurationSetAttributesProperty{ ConfigurationSetName: jsii.String("configurationSetName"), }, DkimAttributes: &DkimAttributesProperty{ SigningEnabled: jsii.Boolean(false), }, DkimSigningAttributes: &DkimSigningAttributesProperty{ DomainSigningPrivateKey: jsii.String("domainSigningPrivateKey"), DomainSigningSelector: jsii.String("domainSigningSelector"), NextSigningKeyLength: jsii.String("nextSigningKeyLength"), }, FeedbackAttributes: &FeedbackAttributesProperty{ EmailForwardingEnabled: jsii.Boolean(false), }, MailFromAttributes: &MailFromAttributesProperty{ BehaviorOnMxFailure: jsii.String("behaviorOnMxFailure"), MailFromDomain: jsii.String("mailFromDomain"), }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-emailidentity.html
type CfnEmailIdentity_ConfigurationSetAttributesProperty ¶ added in v2.31.0
type CfnEmailIdentity_ConfigurationSetAttributesProperty struct { // The configuration set to associate with an email identity. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-emailidentity-configurationsetattributes.html#cfn-ses-emailidentity-configurationsetattributes-configurationsetname // ConfigurationSetName *string `field:"optional" json:"configurationSetName" yaml:"configurationSetName"` }
Used to associate a configuration set with an email identity.
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" configurationSetAttributesProperty := &ConfigurationSetAttributesProperty{ ConfigurationSetName: jsii.String("configurationSetName"), }
type CfnEmailIdentity_DkimAttributesProperty ¶ added in v2.31.0
type CfnEmailIdentity_DkimAttributesProperty struct { // Sets the DKIM signing configuration for the identity. // // When you set this value `true` , then the messages that are sent from the identity are signed using DKIM. If you set this value to `false` , your messages are sent without DKIM signing. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-emailidentity-dkimattributes.html#cfn-ses-emailidentity-dkimattributes-signingenabled // SigningEnabled interface{} `field:"optional" json:"signingEnabled" yaml:"signingEnabled"` }
Used to enable or disable DKIM authentication for an email identity.
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" dkimAttributesProperty := &DkimAttributesProperty{ SigningEnabled: jsii.Boolean(false), }
type CfnEmailIdentity_DkimSigningAttributesProperty ¶ added in v2.31.0
type CfnEmailIdentity_DkimSigningAttributesProperty struct { // [Bring Your Own DKIM] A private key that's used to generate a DKIM signature. // // The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding. // // > Rather than embedding sensitive information directly in your CFN templates, we recommend you use dynamic parameters in the stack template to reference sensitive information that is stored and managed outside of CFN, such as in the AWS Systems Manager Parameter Store or AWS Secrets Manager. // > // > For more information, see the [Do not embed credentials in your templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/best-practices.html#creds) best practice. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-emailidentity-dkimsigningattributes.html#cfn-ses-emailidentity-dkimsigningattributes-domainsigningprivatekey // DomainSigningPrivateKey *string `field:"optional" json:"domainSigningPrivateKey" yaml:"domainSigningPrivateKey"` // [Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a domain. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-emailidentity-dkimsigningattributes.html#cfn-ses-emailidentity-dkimsigningattributes-domainsigningselector // DomainSigningSelector *string `field:"optional" json:"domainSigningSelector" yaml:"domainSigningSelector"` // [Easy DKIM] The key length of the future DKIM key pair to be generated. // // This can be changed at most once per day. // // Valid Values: `RSA_1024_BIT | RSA_2048_BIT`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-emailidentity-dkimsigningattributes.html#cfn-ses-emailidentity-dkimsigningattributes-nextsigningkeylength // NextSigningKeyLength *string `field:"optional" json:"nextSigningKeyLength" yaml:"nextSigningKeyLength"` }
Used to configure or change the DKIM authentication settings for an email domain identity.
You can use this operation to do any of the following:
- Update the signing attributes for an identity that uses Bring Your Own DKIM (BYODKIM). - Update the key length that should be used for Easy DKIM. - Change from using no DKIM authentication to using Easy DKIM. - Change from using no DKIM authentication to using BYODKIM. - Change from using Easy DKIM to using BYODKIM. - Change from using BYODKIM to using Easy DKIM.
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" dkimSigningAttributesProperty := &DkimSigningAttributesProperty{ DomainSigningPrivateKey: jsii.String("domainSigningPrivateKey"), DomainSigningSelector: jsii.String("domainSigningSelector"), NextSigningKeyLength: jsii.String("nextSigningKeyLength"), }
type CfnEmailIdentity_FeedbackAttributesProperty ¶ added in v2.31.0
type CfnEmailIdentity_FeedbackAttributesProperty struct { // Sets the feedback forwarding configuration for the identity. // // If the value is `true` , you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the `Return-Path` header of the original email. // // You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-emailidentity-feedbackattributes.html#cfn-ses-emailidentity-feedbackattributes-emailforwardingenabled // EmailForwardingEnabled interface{} `field:"optional" json:"emailForwardingEnabled" yaml:"emailForwardingEnabled"` }
Used to enable or disable feedback forwarding for an identity.
This setting determines what happens when an identity is used to send an email that results in a bounce or complaint event.
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" feedbackAttributesProperty := &FeedbackAttributesProperty{ EmailForwardingEnabled: jsii.Boolean(false), }
type CfnEmailIdentity_MailFromAttributesProperty ¶ added in v2.31.0
type CfnEmailIdentity_MailFromAttributesProperty struct { // The action to take if the required MX record isn't found when you send an email. // // When you set this value to `USE_DEFAULT_VALUE` , the mail is sent using *amazonses.com* as the MAIL FROM domain. When you set this value to `REJECT_MESSAGE` , the Amazon SES API v2 returns a `MailFromDomainNotVerified` error, and doesn't attempt to deliver the email. // // These behaviors are taken when the custom MAIL FROM domain configuration is in the `Pending` , `Failed` , and `TemporaryFailure` states. // // Valid Values: `USE_DEFAULT_VALUE | REJECT_MESSAGE`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-emailidentity-mailfromattributes.html#cfn-ses-emailidentity-mailfromattributes-behavioronmxfailure // BehaviorOnMxFailure *string `field:"optional" json:"behaviorOnMxFailure" yaml:"behaviorOnMxFailure"` // The custom MAIL FROM domain that you want the verified identity to use. // // The MAIL FROM domain must meet the following criteria: // // - It has to be a subdomain of the verified identity. // - It can't be used to receive email. // - It can't be used in a "From" address if the MAIL FROM domain is a destination for feedback forwarding emails. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-emailidentity-mailfromattributes.html#cfn-ses-emailidentity-mailfromattributes-mailfromdomain // MailFromDomain *string `field:"optional" json:"mailFromDomain" yaml:"mailFromDomain"` }
Used to enable or disable the custom Mail-From domain configuration for an email identity.
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" mailFromAttributesProperty := &MailFromAttributesProperty{ BehaviorOnMxFailure: jsii.String("behaviorOnMxFailure"), MailFromDomain: jsii.String("mailFromDomain"), }
type CfnMailManagerAddonInstance ¶ added in v2.154.0
type CfnMailManagerAddonInstance interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The subscription ID for the instance. AddonSubscriptionId() *string SetAddonSubscriptionId(val *string) // The Amazon Resource Name (ARN) of the Add On instance. AttrAddonInstanceArn() *string // The unique ID of the Add On instance. AttrAddonInstanceId() *string // The name of the Add On for the instance. AttrAddonName() *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{} // 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 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 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 // The tags used to organize, track, or control access for the resource. 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) // 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{}) }
Creates an Add On instance for the subscription indicated in the request.
The resulting Amazon Resource Name (ARN) can be used in a conditional statement for a rule set or traffic policy.
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" cfnMailManagerAddonInstance := awscdk.Aws_ses.NewCfnMailManagerAddonInstance(this, jsii.String("MyCfnMailManagerAddonInstance"), &CfnMailManagerAddonInstanceProps{ AddonSubscriptionId: jsii.String("addonSubscriptionId"), // the properties below are optional Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnMailManagerAddonInstance ¶ added in v2.154.0
func NewCfnMailManagerAddonInstance(scope constructs.Construct, id *string, props *CfnMailManagerAddonInstanceProps) CfnMailManagerAddonInstance
type CfnMailManagerAddonInstanceProps ¶ added in v2.154.0
type CfnMailManagerAddonInstanceProps struct { // The subscription ID for the instance. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanageraddoninstance.html#cfn-ses-mailmanageraddoninstance-addonsubscriptionid // AddonSubscriptionId *string `field:"required" json:"addonSubscriptionId" yaml:"addonSubscriptionId"` // The tags used to organize, track, or control access for the resource. // // For example, { "tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanageraddoninstance.html#cfn-ses-mailmanageraddoninstance-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnMailManagerAddonInstance`.
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" cfnMailManagerAddonInstanceProps := &CfnMailManagerAddonInstanceProps{ AddonSubscriptionId: jsii.String("addonSubscriptionId"), // the properties below are optional Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnMailManagerAddonSubscription ¶ added in v2.154.0
type CfnMailManagerAddonSubscription interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The name of the Add On to subscribe to. AddonName() *string SetAddonName(val *string) // The Amazon Resource Name (ARN) of the Add On subscription. AttrAddonSubscriptionArn() *string // The unique ID of the Add On subscription. AttrAddonSubscriptionId() *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{} // 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 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 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 // The tags used to organize, track, or control access for the resource. 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) // 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{}) }
Creates a subscription for an Add On representing the acceptance of its terms of use and additional pricing.
The subscription can then be used to create an instance for use in rule sets or traffic policies.
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" cfnMailManagerAddonSubscription := awscdk.Aws_ses.NewCfnMailManagerAddonSubscription(this, jsii.String("MyCfnMailManagerAddonSubscription"), &CfnMailManagerAddonSubscriptionProps{ AddonName: jsii.String("addonName"), // the properties below are optional Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnMailManagerAddonSubscription ¶ added in v2.154.0
func NewCfnMailManagerAddonSubscription(scope constructs.Construct, id *string, props *CfnMailManagerAddonSubscriptionProps) CfnMailManagerAddonSubscription
type CfnMailManagerAddonSubscriptionProps ¶ added in v2.154.0
type CfnMailManagerAddonSubscriptionProps struct { // The name of the Add On to subscribe to. // // You can only have one subscription for each Add On name. // // Valid Values: `TRENDMICRO_VSAPI | SPAMHAUS_DBL | ABUSIX_MAIL_INTELLIGENCE`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanageraddonsubscription.html#cfn-ses-mailmanageraddonsubscription-addonname // AddonName *string `field:"required" json:"addonName" yaml:"addonName"` // The tags used to organize, track, or control access for the resource. // // For example, { "tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanageraddonsubscription.html#cfn-ses-mailmanageraddonsubscription-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnMailManagerAddonSubscription`.
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" cfnMailManagerAddonSubscriptionProps := &CfnMailManagerAddonSubscriptionProps{ AddonName: jsii.String("addonName"), // the properties below are optional Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnMailManagerArchive ¶ added in v2.154.0
type CfnMailManagerArchive interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // A unique name for the new archive. ArchiveName() *string SetArchiveName(val *string) // The Amazon Resource Name (ARN) of the archive. AttrArchiveArn() *string // The unique identifier of the archive. AttrArchiveId() *string // The current state of the archive:. // // - `ACTIVE` – The archive is ready and available for use. // - `PENDING_DELETION` – The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications can be made in this state. AttrArchiveState() *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{} // 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 Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive. 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 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 period for retaining emails in the archive before automatic deletion. Retention() interface{} SetRetention(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 tags used to organize, track, or control access for the resource. 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) // 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{}) }
Creates a new email archive resource for storing and retaining emails.
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" cfnMailManagerArchive := awscdk.Aws_ses.NewCfnMailManagerArchive(this, jsii.String("MyCfnMailManagerArchive"), &CfnMailManagerArchiveProps{ ArchiveName: jsii.String("archiveName"), KmsKeyArn: jsii.String("kmsKeyArn"), Retention: &ArchiveRetentionProperty{ RetentionPeriod: jsii.String("retentionPeriod"), }, Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnMailManagerArchive ¶ added in v2.154.0
func NewCfnMailManagerArchive(scope constructs.Construct, id *string, props *CfnMailManagerArchiveProps) CfnMailManagerArchive
type CfnMailManagerArchiveProps ¶ added in v2.154.0
type CfnMailManagerArchiveProps struct { // A unique name for the new archive. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerarchive.html#cfn-ses-mailmanagerarchive-archivename // ArchiveName *string `field:"optional" json:"archiveName" yaml:"archiveName"` // The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerarchive.html#cfn-ses-mailmanagerarchive-kmskeyarn // KmsKeyArn *string `field:"optional" json:"kmsKeyArn" yaml:"kmsKeyArn"` // The period for retaining emails in the archive before automatic deletion. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerarchive.html#cfn-ses-mailmanagerarchive-retention // Retention interface{} `field:"optional" json:"retention" yaml:"retention"` // The tags used to organize, track, or control access for the resource. // // For example, { "tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerarchive.html#cfn-ses-mailmanagerarchive-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnMailManagerArchive`.
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" cfnMailManagerArchiveProps := &CfnMailManagerArchiveProps{ ArchiveName: jsii.String("archiveName"), KmsKeyArn: jsii.String("kmsKeyArn"), Retention: &ArchiveRetentionProperty{ RetentionPeriod: jsii.String("retentionPeriod"), }, Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnMailManagerArchive_ArchiveRetentionProperty ¶ added in v2.154.0
type CfnMailManagerArchive_ArchiveRetentionProperty struct { // The enum value sets the period for retaining emails in an archive. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerarchive-archiveretention.html#cfn-ses-mailmanagerarchive-archiveretention-retentionperiod // RetentionPeriod *string `field:"required" json:"retentionPeriod" yaml:"retentionPeriod"` }
The retention policy for an email archive that specifies how long emails are kept before being automatically deleted.
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" archiveRetentionProperty := &ArchiveRetentionProperty{ RetentionPeriod: jsii.String("retentionPeriod"), }
type CfnMailManagerIngressPoint ¶ added in v2.154.0
type CfnMailManagerIngressPoint interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The DNS A Record that identifies your ingress endpoint. // // Configure your DNS Mail Exchange (MX) record with this value to route emails to Mail Manager. AttrARecord() *string // The Amazon Resource Name (ARN) of the ingress endpoint resource. AttrIngressPointArn() *string // The identifier of the ingress endpoint resource. AttrIngressPointId() *string // The status of the ingress endpoint resource. AttrStatus() *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{} // 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 configuration of the ingress endpoint resource. IngressPointConfiguration() interface{} SetIngressPointConfiguration(val interface{}) // A user friendly name for an ingress endpoint resource. IngressPointName() *string SetIngressPointName(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 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 identifier of an existing rule set that you attach to an ingress endpoint resource. RuleSetId() *string SetRuleSetId(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 update status of an ingress endpoint. StatusToUpdate() *string SetStatusToUpdate(val *string) // The tags used to organize, track, or control access for the resource. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // The identifier of an existing traffic policy that you attach to an ingress endpoint resource. TrafficPolicyId() *string SetTrafficPolicyId(val *string) // The type of the ingress endpoint to create. Type() *string SetType(val *string) // 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) // 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{}) }
Resource to provision an ingress endpoint for receiving email.
An ingress endpoint serves as the entry point for incoming emails, allowing you to define how emails are received and processed within your AWS environment.
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" cfnMailManagerIngressPoint := awscdk.Aws_ses.NewCfnMailManagerIngressPoint(this, jsii.String("MyCfnMailManagerIngressPoint"), &CfnMailManagerIngressPointProps{ RuleSetId: jsii.String("ruleSetId"), TrafficPolicyId: jsii.String("trafficPolicyId"), Type: jsii.String("type"), // the properties below are optional IngressPointConfiguration: &IngressPointConfigurationProperty{ SecretArn: jsii.String("secretArn"), SmtpPassword: jsii.String("smtpPassword"), }, IngressPointName: jsii.String("ingressPointName"), StatusToUpdate: jsii.String("statusToUpdate"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnMailManagerIngressPoint ¶ added in v2.154.0
func NewCfnMailManagerIngressPoint(scope constructs.Construct, id *string, props *CfnMailManagerIngressPointProps) CfnMailManagerIngressPoint
type CfnMailManagerIngressPointProps ¶ added in v2.154.0
type CfnMailManagerIngressPointProps struct { // The identifier of an existing rule set that you attach to an ingress endpoint resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanageringresspoint.html#cfn-ses-mailmanageringresspoint-rulesetid // RuleSetId *string `field:"required" json:"ruleSetId" yaml:"ruleSetId"` // The identifier of an existing traffic policy that you attach to an ingress endpoint resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanageringresspoint.html#cfn-ses-mailmanageringresspoint-trafficpolicyid // TrafficPolicyId *string `field:"required" json:"trafficPolicyId" yaml:"trafficPolicyId"` // The type of the ingress endpoint to create. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanageringresspoint.html#cfn-ses-mailmanageringresspoint-type // Type *string `field:"required" json:"type" yaml:"type"` // The configuration of the ingress endpoint resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanageringresspoint.html#cfn-ses-mailmanageringresspoint-ingresspointconfiguration // IngressPointConfiguration interface{} `field:"optional" json:"ingressPointConfiguration" yaml:"ingressPointConfiguration"` // A user friendly name for an ingress endpoint resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanageringresspoint.html#cfn-ses-mailmanageringresspoint-ingresspointname // IngressPointName *string `field:"optional" json:"ingressPointName" yaml:"ingressPointName"` // The update status of an ingress endpoint. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanageringresspoint.html#cfn-ses-mailmanageringresspoint-statustoupdate // StatusToUpdate *string `field:"optional" json:"statusToUpdate" yaml:"statusToUpdate"` // The tags used to organize, track, or control access for the resource. // // For example, { "tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanageringresspoint.html#cfn-ses-mailmanageringresspoint-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnMailManagerIngressPoint`.
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" cfnMailManagerIngressPointProps := &CfnMailManagerIngressPointProps{ RuleSetId: jsii.String("ruleSetId"), TrafficPolicyId: jsii.String("trafficPolicyId"), Type: jsii.String("type"), // the properties below are optional IngressPointConfiguration: &IngressPointConfigurationProperty{ SecretArn: jsii.String("secretArn"), SmtpPassword: jsii.String("smtpPassword"), }, IngressPointName: jsii.String("ingressPointName"), StatusToUpdate: jsii.String("statusToUpdate"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnMailManagerIngressPoint_IngressPointConfigurationProperty ¶ added in v2.154.0
type CfnMailManagerIngressPoint_IngressPointConfigurationProperty struct { // The SecretsManager::Secret ARN of the ingress endpoint resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanageringresspoint-ingresspointconfiguration.html#cfn-ses-mailmanageringresspoint-ingresspointconfiguration-secretarn // SecretArn *string `field:"optional" json:"secretArn" yaml:"secretArn"` // The password of the ingress endpoint resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanageringresspoint-ingresspointconfiguration.html#cfn-ses-mailmanageringresspoint-ingresspointconfiguration-smtppassword // SmtpPassword *string `field:"optional" json:"smtpPassword" yaml:"smtpPassword"` }
The configuration of the ingress endpoint resource.
> This data type is a UNION, so only one of the following members can be specified when used or returned.
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" ingressPointConfigurationProperty := &IngressPointConfigurationProperty{ SecretArn: jsii.String("secretArn"), SmtpPassword: jsii.String("smtpPassword"), }
type CfnMailManagerRelay ¶ added in v2.154.0
type CfnMailManagerRelay interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The Amazon Resource Name (ARN) of the relay. AttrRelayArn() *string // The unique relay identifier. AttrRelayId() *string // Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored. Authentication() interface{} SetAuthentication(val interface{}) // 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{} // 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 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 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 unique relay name. RelayName() *string SetRelayName(val *string) // The destination relay server address. ServerName() *string SetServerName(val *string) // The destination relay server port. ServerPort() *float64 SetServerPort(val *float64) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // The tags used to organize, track, or control access for the resource. 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) // 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{}) }
Resource to create an SMTP relay, which can be used within a Mail Manager rule set to forward incoming emails to defined relay destinations.
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 noAuthentication interface{} cfnMailManagerRelay := awscdk.Aws_ses.NewCfnMailManagerRelay(this, jsii.String("MyCfnMailManagerRelay"), &CfnMailManagerRelayProps{ Authentication: &RelayAuthenticationProperty{ NoAuthentication: noAuthentication, SecretArn: jsii.String("secretArn"), }, ServerName: jsii.String("serverName"), ServerPort: jsii.Number(123), // the properties below are optional RelayName: jsii.String("relayName"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerrelay.html
func NewCfnMailManagerRelay ¶ added in v2.154.0
func NewCfnMailManagerRelay(scope constructs.Construct, id *string, props *CfnMailManagerRelayProps) CfnMailManagerRelay
type CfnMailManagerRelayProps ¶ added in v2.154.0
type CfnMailManagerRelayProps struct { // Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerrelay.html#cfn-ses-mailmanagerrelay-authentication // Authentication interface{} `field:"required" json:"authentication" yaml:"authentication"` // The destination relay server address. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerrelay.html#cfn-ses-mailmanagerrelay-servername // ServerName *string `field:"required" json:"serverName" yaml:"serverName"` // The destination relay server port. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerrelay.html#cfn-ses-mailmanagerrelay-serverport // ServerPort *float64 `field:"required" json:"serverPort" yaml:"serverPort"` // The unique relay name. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerrelay.html#cfn-ses-mailmanagerrelay-relayname // RelayName *string `field:"optional" json:"relayName" yaml:"relayName"` // The tags used to organize, track, or control access for the resource. // // For example, { "tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerrelay.html#cfn-ses-mailmanagerrelay-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnMailManagerRelay`.
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 noAuthentication interface{} cfnMailManagerRelayProps := &CfnMailManagerRelayProps{ Authentication: &RelayAuthenticationProperty{ NoAuthentication: noAuthentication, SecretArn: jsii.String("secretArn"), }, ServerName: jsii.String("serverName"), ServerPort: jsii.Number(123), // the properties below are optional RelayName: jsii.String("relayName"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerrelay.html
type CfnMailManagerRelay_RelayAuthenticationProperty ¶ added in v2.154.0
type CfnMailManagerRelay_RelayAuthenticationProperty struct { // Keep an empty structure if the relay destination server does not require SMTP credential authentication. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerrelay-relayauthentication.html#cfn-ses-mailmanagerrelay-relayauthentication-noauthentication // NoAuthentication interface{} `field:"optional" json:"noAuthentication" yaml:"noAuthentication"` // The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerrelay-relayauthentication.html#cfn-ses-mailmanagerrelay-relayauthentication-secretarn // SecretArn *string `field:"optional" json:"secretArn" yaml:"secretArn"` }
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored, or specify an empty NoAuthentication structure if the relay destination server does not require SMTP credential authentication.
> This data type is a UNION, so only one of the following members can be specified when used or returned.
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 noAuthentication interface{} relayAuthenticationProperty := &RelayAuthenticationProperty{ NoAuthentication: noAuthentication, SecretArn: jsii.String("secretArn"), }
type CfnMailManagerRuleSet ¶ added in v2.154.0
type CfnMailManagerRuleSet interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The Amazon Resource Name (ARN) of the rule set resource. AttrRuleSetArn() *string // The identifier of the rule set. AttrRuleSetId() *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{} // 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 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 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 // Conditional rules that are evaluated for determining actions on email. Rules() interface{} SetRules(val interface{}) // A user-friendly name for the rule set. RuleSetName() *string SetRuleSetName(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 tags used to organize, track, or control access for the resource. 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) // 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{}) }
Resource to create a rule set for a Mail Manager ingress endpoint which contains a list of rules that are evaluated sequentially for each email.
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 drop interface{} cfnMailManagerRuleSet := awscdk.Aws_ses.NewCfnMailManagerRuleSet(this, jsii.String("MyCfnMailManagerRuleSet"), &CfnMailManagerRuleSetProps{ Rules: []interface{}{ &RuleProperty{ Actions: []interface{}{ &RuleActionProperty{ AddHeader: &AddHeaderActionProperty{ HeaderName: jsii.String("headerName"), HeaderValue: jsii.String("headerValue"), }, Archive: &ArchiveActionProperty{ TargetArchive: jsii.String("targetArchive"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), }, DeliverToMailbox: &DeliverToMailboxActionProperty{ MailboxArn: jsii.String("mailboxArn"), RoleArn: jsii.String("roleArn"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), }, Drop: drop, Relay: &RelayActionProperty{ Relay: jsii.String("relay"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), MailFrom: jsii.String("mailFrom"), }, ReplaceRecipient: &ReplaceRecipientActionProperty{ ReplaceWith: []*string{ jsii.String("replaceWith"), }, }, Send: &SendActionProperty{ RoleArn: jsii.String("roleArn"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), }, WriteToS3: &S3ActionProperty{ RoleArn: jsii.String("roleArn"), S3Bucket: jsii.String("s3Bucket"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), S3Prefix: jsii.String("s3Prefix"), S3SseKmsKeyId: jsii.String("s3SseKmsKeyId"), }, }, }, // the properties below are optional Conditions: []interface{}{ &RuleConditionProperty{ BooleanExpression: &RuleBooleanExpressionProperty{ Evaluate: &RuleBooleanToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), }, DmarcExpression: &RuleDmarcExpressionProperty{ Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, IpExpression: &RuleIpExpressionProperty{ Evaluate: &RuleIpToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, NumberExpression: &RuleNumberExpressionProperty{ Evaluate: &RuleNumberToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Value: jsii.Number(123), }, StringExpression: &RuleStringExpressionProperty{ Evaluate: &RuleStringToEvaluateProperty{ Attribute: jsii.String("attribute"), MimeHeaderAttribute: jsii.String("mimeHeaderAttribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, VerdictExpression: &RuleVerdictExpressionProperty{ Evaluate: &RuleVerdictToEvaluateProperty{ Analysis: &AnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }, Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, }, }, Name: jsii.String("name"), Unless: []interface{}{ &RuleConditionProperty{ BooleanExpression: &RuleBooleanExpressionProperty{ Evaluate: &RuleBooleanToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), }, DmarcExpression: &RuleDmarcExpressionProperty{ Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, IpExpression: &RuleIpExpressionProperty{ Evaluate: &RuleIpToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, NumberExpression: &RuleNumberExpressionProperty{ Evaluate: &RuleNumberToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Value: jsii.Number(123), }, StringExpression: &RuleStringExpressionProperty{ Evaluate: &RuleStringToEvaluateProperty{ Attribute: jsii.String("attribute"), MimeHeaderAttribute: jsii.String("mimeHeaderAttribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, VerdictExpression: &RuleVerdictExpressionProperty{ Evaluate: &RuleVerdictToEvaluateProperty{ Analysis: &AnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }, Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, }, }, }, }, // the properties below are optional RuleSetName: jsii.String("ruleSetName"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnMailManagerRuleSet ¶ added in v2.154.0
func NewCfnMailManagerRuleSet(scope constructs.Construct, id *string, props *CfnMailManagerRuleSetProps) CfnMailManagerRuleSet
type CfnMailManagerRuleSetProps ¶ added in v2.154.0
type CfnMailManagerRuleSetProps struct { // Conditional rules that are evaluated for determining actions on email. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerruleset.html#cfn-ses-mailmanagerruleset-rules // Rules interface{} `field:"required" json:"rules" yaml:"rules"` // A user-friendly name for the rule set. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerruleset.html#cfn-ses-mailmanagerruleset-rulesetname // RuleSetName *string `field:"optional" json:"ruleSetName" yaml:"ruleSetName"` // The tags used to organize, track, or control access for the resource. // // For example, { "tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerruleset.html#cfn-ses-mailmanagerruleset-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnMailManagerRuleSet`.
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 drop interface{} cfnMailManagerRuleSetProps := &CfnMailManagerRuleSetProps{ Rules: []interface{}{ &RuleProperty{ Actions: []interface{}{ &RuleActionProperty{ AddHeader: &AddHeaderActionProperty{ HeaderName: jsii.String("headerName"), HeaderValue: jsii.String("headerValue"), }, Archive: &ArchiveActionProperty{ TargetArchive: jsii.String("targetArchive"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), }, DeliverToMailbox: &DeliverToMailboxActionProperty{ MailboxArn: jsii.String("mailboxArn"), RoleArn: jsii.String("roleArn"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), }, Drop: drop, Relay: &RelayActionProperty{ Relay: jsii.String("relay"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), MailFrom: jsii.String("mailFrom"), }, ReplaceRecipient: &ReplaceRecipientActionProperty{ ReplaceWith: []*string{ jsii.String("replaceWith"), }, }, Send: &SendActionProperty{ RoleArn: jsii.String("roleArn"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), }, WriteToS3: &S3ActionProperty{ RoleArn: jsii.String("roleArn"), S3Bucket: jsii.String("s3Bucket"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), S3Prefix: jsii.String("s3Prefix"), S3SseKmsKeyId: jsii.String("s3SseKmsKeyId"), }, }, }, // the properties below are optional Conditions: []interface{}{ &RuleConditionProperty{ BooleanExpression: &RuleBooleanExpressionProperty{ Evaluate: &RuleBooleanToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), }, DmarcExpression: &RuleDmarcExpressionProperty{ Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, IpExpression: &RuleIpExpressionProperty{ Evaluate: &RuleIpToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, NumberExpression: &RuleNumberExpressionProperty{ Evaluate: &RuleNumberToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Value: jsii.Number(123), }, StringExpression: &RuleStringExpressionProperty{ Evaluate: &RuleStringToEvaluateProperty{ Attribute: jsii.String("attribute"), MimeHeaderAttribute: jsii.String("mimeHeaderAttribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, VerdictExpression: &RuleVerdictExpressionProperty{ Evaluate: &RuleVerdictToEvaluateProperty{ Analysis: &AnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }, Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, }, }, Name: jsii.String("name"), Unless: []interface{}{ &RuleConditionProperty{ BooleanExpression: &RuleBooleanExpressionProperty{ Evaluate: &RuleBooleanToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), }, DmarcExpression: &RuleDmarcExpressionProperty{ Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, IpExpression: &RuleIpExpressionProperty{ Evaluate: &RuleIpToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, NumberExpression: &RuleNumberExpressionProperty{ Evaluate: &RuleNumberToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Value: jsii.Number(123), }, StringExpression: &RuleStringExpressionProperty{ Evaluate: &RuleStringToEvaluateProperty{ Attribute: jsii.String("attribute"), MimeHeaderAttribute: jsii.String("mimeHeaderAttribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, VerdictExpression: &RuleVerdictExpressionProperty{ Evaluate: &RuleVerdictToEvaluateProperty{ Analysis: &AnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }, Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, }, }, }, }, // the properties below are optional RuleSetName: jsii.String("ruleSetName"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnMailManagerRuleSet_AddHeaderActionProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_AddHeaderActionProperty struct { // The name of the header to add to an email. // // The header must be prefixed with "X-". Headers are added regardless of whether the header name pre-existed in the email. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-addheaderaction.html#cfn-ses-mailmanagerruleset-addheaderaction-headername // HeaderName *string `field:"required" json:"headerName" yaml:"headerName"` // The value of the header to add to the email. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-addheaderaction.html#cfn-ses-mailmanagerruleset-addheaderaction-headervalue // HeaderValue *string `field:"required" json:"headerValue" yaml:"headerValue"` }
The action to add a header to a message.
When executed, this action will add the given header to the message.
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" addHeaderActionProperty := &AddHeaderActionProperty{ HeaderName: jsii.String("headerName"), HeaderValue: jsii.String("headerValue"), }
type CfnMailManagerRuleSet_AnalysisProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_AnalysisProperty struct { // The Amazon Resource Name (ARN) of an Add On. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-analysis.html#cfn-ses-mailmanagerruleset-analysis-analyzer // Analyzer *string `field:"required" json:"analyzer" yaml:"analyzer"` // The returned value from an Add On. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-analysis.html#cfn-ses-mailmanagerruleset-analysis-resultfield // ResultField *string `field:"required" json:"resultField" yaml:"resultField"` }
The result of an analysis can be used in conditions to trigger actions.
Analyses can inspect the email content and report a certain aspect of the email.
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" analysisProperty := &AnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }
type CfnMailManagerRuleSet_ArchiveActionProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_ArchiveActionProperty struct { // The identifier of the archive to send the email to. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-archiveaction.html#cfn-ses-mailmanagerruleset-archiveaction-targetarchive // TargetArchive *string `field:"required" json:"targetArchive" yaml:"targetArchive"` // A policy that states what to do in the case of failure. // // The action will fail if there are configuration errors. For example, the specified archive has been deleted. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-archiveaction.html#cfn-ses-mailmanagerruleset-archiveaction-actionfailurepolicy // ActionFailurePolicy *string `field:"optional" json:"actionFailurePolicy" yaml:"actionFailurePolicy"` }
The action to archive the email by delivering the email to an Amazon SES archive.
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" archiveActionProperty := &ArchiveActionProperty{ TargetArchive: jsii.String("targetArchive"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), }
type CfnMailManagerRuleSet_DeliverToMailboxActionProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_DeliverToMailboxActionProperty struct { // The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-delivertomailboxaction.html#cfn-ses-mailmanagerruleset-delivertomailboxaction-mailboxarn // MailboxArn *string `field:"required" json:"mailboxArn" yaml:"mailboxArn"` // The Amazon Resource Name (ARN) of an IAM role to use to execute this action. // // The role must have access to the workmail:DeliverToMailbox API. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-delivertomailboxaction.html#cfn-ses-mailmanagerruleset-delivertomailboxaction-rolearn // RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"` // A policy that states what to do in the case of failure. // // The action will fail if there are configuration errors. For example, the mailbox ARN is no longer valid. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-delivertomailboxaction.html#cfn-ses-mailmanagerruleset-delivertomailboxaction-actionfailurepolicy // ActionFailurePolicy *string `field:"optional" json:"actionFailurePolicy" yaml:"actionFailurePolicy"` }
This action to delivers an email to a mailbox.
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" deliverToMailboxActionProperty := &DeliverToMailboxActionProperty{ MailboxArn: jsii.String("mailboxArn"), RoleArn: jsii.String("roleArn"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), }
type CfnMailManagerRuleSet_RelayActionProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_RelayActionProperty struct { // The identifier of the relay resource to be used when relaying an email. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-relayaction.html#cfn-ses-mailmanagerruleset-relayaction-relay // Relay *string `field:"required" json:"relay" yaml:"relay"` // A policy that states what to do in the case of failure. // // The action will fail if there are configuration errors. For example, the specified relay has been deleted. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-relayaction.html#cfn-ses-mailmanagerruleset-relayaction-actionfailurepolicy // ActionFailurePolicy *string `field:"optional" json:"actionFailurePolicy" yaml:"actionFailurePolicy"` // This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-relayaction.html#cfn-ses-mailmanagerruleset-relayaction-mailfrom // MailFrom *string `field:"optional" json:"mailFrom" yaml:"mailFrom"` }
The action relays the email via SMTP to another specific SMTP server.
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" relayActionProperty := &RelayActionProperty{ Relay: jsii.String("relay"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), MailFrom: jsii.String("mailFrom"), }
type CfnMailManagerRuleSet_ReplaceRecipientActionProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_ReplaceRecipientActionProperty struct { // This action specifies the replacement recipient email addresses to insert. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-replacerecipientaction.html#cfn-ses-mailmanagerruleset-replacerecipientaction-replacewith // ReplaceWith *[]*string `field:"optional" json:"replaceWith" yaml:"replaceWith"` }
This action replaces the email envelope recipients with the given list of recipients.
If the condition of this action applies only to a subset of recipients, only those recipients are replaced with the recipients specified in the action. The message contents and headers are unaffected by this action, only the envelope recipients are updated.
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" replaceRecipientActionProperty := &ReplaceRecipientActionProperty{ ReplaceWith: []*string{ jsii.String("replaceWith"), }, }
type CfnMailManagerRuleSet_RuleActionProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_RuleActionProperty struct { // This action adds a header. // // This can be used to add arbitrary email headers. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleaction.html#cfn-ses-mailmanagerruleset-ruleaction-addheader // AddHeader interface{} `field:"optional" json:"addHeader" yaml:"addHeader"` // This action archives the email. // // This can be used to deliver an email to an archive. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleaction.html#cfn-ses-mailmanagerruleset-ruleaction-archive // Archive interface{} `field:"optional" json:"archive" yaml:"archive"` // This action delivers an email to a WorkMail mailbox. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleaction.html#cfn-ses-mailmanagerruleset-ruleaction-delivertomailbox // DeliverToMailbox interface{} `field:"optional" json:"deliverToMailbox" yaml:"deliverToMailbox"` // This action terminates the evaluation of rules in the rule set. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleaction.html#cfn-ses-mailmanagerruleset-ruleaction-drop // Drop interface{} `field:"optional" json:"drop" yaml:"drop"` // This action relays the email to another SMTP server. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleaction.html#cfn-ses-mailmanagerruleset-ruleaction-relay // Relay interface{} `field:"optional" json:"relay" yaml:"relay"` // The action replaces certain or all recipients with a different set of recipients. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleaction.html#cfn-ses-mailmanagerruleset-ruleaction-replacerecipient // ReplaceRecipient interface{} `field:"optional" json:"replaceRecipient" yaml:"replaceRecipient"` // This action sends the email to the internet. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleaction.html#cfn-ses-mailmanagerruleset-ruleaction-send // Send interface{} `field:"optional" json:"send" yaml:"send"` // This action writes the MIME content of the email to an S3 bucket. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleaction.html#cfn-ses-mailmanagerruleset-ruleaction-writetos3 // WriteToS3 interface{} `field:"optional" json:"writeToS3" yaml:"writeToS3"` }
The action for a rule to take. Only one of the contained actions can be set.
> This data type is a UNION, so only one of the following members can be specified when used or returned.
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 drop interface{} ruleActionProperty := &RuleActionProperty{ AddHeader: &AddHeaderActionProperty{ HeaderName: jsii.String("headerName"), HeaderValue: jsii.String("headerValue"), }, Archive: &ArchiveActionProperty{ TargetArchive: jsii.String("targetArchive"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), }, DeliverToMailbox: &DeliverToMailboxActionProperty{ MailboxArn: jsii.String("mailboxArn"), RoleArn: jsii.String("roleArn"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), }, Drop: drop, Relay: &RelayActionProperty{ Relay: jsii.String("relay"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), MailFrom: jsii.String("mailFrom"), }, ReplaceRecipient: &ReplaceRecipientActionProperty{ ReplaceWith: []*string{ jsii.String("replaceWith"), }, }, Send: &SendActionProperty{ RoleArn: jsii.String("roleArn"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), }, WriteToS3: &S3ActionProperty{ RoleArn: jsii.String("roleArn"), S3Bucket: jsii.String("s3Bucket"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), S3Prefix: jsii.String("s3Prefix"), S3SseKmsKeyId: jsii.String("s3SseKmsKeyId"), }, }
type CfnMailManagerRuleSet_RuleBooleanExpressionProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_RuleBooleanExpressionProperty struct { // The operand on which to perform a boolean condition operation. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulebooleanexpression.html#cfn-ses-mailmanagerruleset-rulebooleanexpression-evaluate // Evaluate interface{} `field:"required" json:"evaluate" yaml:"evaluate"` // The matching operator for a boolean condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulebooleanexpression.html#cfn-ses-mailmanagerruleset-rulebooleanexpression-operator // Operator *string `field:"required" json:"operator" yaml:"operator"` }
A boolean expression to be used in a rule condition.
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" ruleBooleanExpressionProperty := &RuleBooleanExpressionProperty{ Evaluate: &RuleBooleanToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), }
type CfnMailManagerRuleSet_RuleBooleanToEvaluateProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_RuleBooleanToEvaluateProperty struct { // The boolean type representing the allowed attribute types for an email. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulebooleantoevaluate.html#cfn-ses-mailmanagerruleset-rulebooleantoevaluate-attribute // Attribute *string `field:"required" json:"attribute" yaml:"attribute"` }
The union type representing the allowed types of operands for a boolean condition.
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" ruleBooleanToEvaluateProperty := &RuleBooleanToEvaluateProperty{ Attribute: jsii.String("attribute"), }
type CfnMailManagerRuleSet_RuleConditionProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_RuleConditionProperty struct { // The condition applies to a boolean expression passed in this field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulecondition.html#cfn-ses-mailmanagerruleset-rulecondition-booleanexpression // BooleanExpression interface{} `field:"optional" json:"booleanExpression" yaml:"booleanExpression"` // The condition applies to a DMARC policy expression passed in this field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulecondition.html#cfn-ses-mailmanagerruleset-rulecondition-dmarcexpression // DmarcExpression interface{} `field:"optional" json:"dmarcExpression" yaml:"dmarcExpression"` // The condition applies to an IP address expression passed in this field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulecondition.html#cfn-ses-mailmanagerruleset-rulecondition-ipexpression // IpExpression interface{} `field:"optional" json:"ipExpression" yaml:"ipExpression"` // The condition applies to a number expression passed in this field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulecondition.html#cfn-ses-mailmanagerruleset-rulecondition-numberexpression // NumberExpression interface{} `field:"optional" json:"numberExpression" yaml:"numberExpression"` // The condition applies to a string expression passed in this field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulecondition.html#cfn-ses-mailmanagerruleset-rulecondition-stringexpression // StringExpression interface{} `field:"optional" json:"stringExpression" yaml:"stringExpression"` // The condition applies to a verdict expression passed in this field. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulecondition.html#cfn-ses-mailmanagerruleset-rulecondition-verdictexpression // VerdictExpression interface{} `field:"optional" json:"verdictExpression" yaml:"verdictExpression"` }
The conditional expression used to evaluate an email for determining if a rule action should be taken.
> This data type is a UNION, so only one of the following members can be specified when used or returned.
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" ruleConditionProperty := &RuleConditionProperty{ BooleanExpression: &RuleBooleanExpressionProperty{ Evaluate: &RuleBooleanToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), }, DmarcExpression: &RuleDmarcExpressionProperty{ Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, IpExpression: &RuleIpExpressionProperty{ Evaluate: &RuleIpToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, NumberExpression: &RuleNumberExpressionProperty{ Evaluate: &RuleNumberToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Value: jsii.Number(123), }, StringExpression: &RuleStringExpressionProperty{ Evaluate: &RuleStringToEvaluateProperty{ Attribute: jsii.String("attribute"), MimeHeaderAttribute: jsii.String("mimeHeaderAttribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, VerdictExpression: &RuleVerdictExpressionProperty{ Evaluate: &RuleVerdictToEvaluateProperty{ Analysis: &AnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }, Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, }
type CfnMailManagerRuleSet_RuleDmarcExpressionProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_RuleDmarcExpressionProperty struct { // The operator to apply to the DMARC policy of the incoming email. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruledmarcexpression.html#cfn-ses-mailmanagerruleset-ruledmarcexpression-operator // Operator *string `field:"required" json:"operator" yaml:"operator"` // The values to use for the given DMARC policy operator. // // For the operator EQUALS, if multiple values are given, they are evaluated as an OR. That is, if any of the given values match, the condition is deemed to match. For the operator NOT_EQUALS, if multiple values are given, they are evaluated as an AND. That is, only if the email's DMARC policy is not equal to any of the given values, then the condition is deemed to match. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruledmarcexpression.html#cfn-ses-mailmanagerruleset-ruledmarcexpression-values // Values *[]*string `field:"required" json:"values" yaml:"values"` }
A DMARC policy expression.
The condition matches if the given DMARC policy matches that of the incoming email.
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" ruleDmarcExpressionProperty := &RuleDmarcExpressionProperty{ Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }
type CfnMailManagerRuleSet_RuleIpExpressionProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_RuleIpExpressionProperty struct { // The IP address to evaluate in this condition. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleipexpression.html#cfn-ses-mailmanagerruleset-ruleipexpression-evaluate // Evaluate interface{} `field:"required" json:"evaluate" yaml:"evaluate"` // The operator to evaluate the IP address. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleipexpression.html#cfn-ses-mailmanagerruleset-ruleipexpression-operator // Operator *string `field:"required" json:"operator" yaml:"operator"` // The IP CIDR blocks in format "x.y.z.w/n" (eg 10.0.0.0/8) to match with the email's IP address. For the operator CIDR_MATCHES, if multiple values are given, they are evaluated as an OR. That is, if the IP address is contained within any of the given CIDR ranges, the condition is deemed to match. For NOT_CIDR_MATCHES, if multiple CIDR ranges are given, the condition is deemed to match if the IP address is not contained in any of the given CIDR ranges. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleipexpression.html#cfn-ses-mailmanagerruleset-ruleipexpression-values // Values *[]*string `field:"required" json:"values" yaml:"values"` }
An IP address expression matching certain IP addresses within a given range of IP addresses.
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" ruleIpExpressionProperty := &RuleIpExpressionProperty{ Evaluate: &RuleIpToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }
type CfnMailManagerRuleSet_RuleIpToEvaluateProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_RuleIpToEvaluateProperty struct { // The attribute of the email to evaluate. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleiptoevaluate.html#cfn-ses-mailmanagerruleset-ruleiptoevaluate-attribute // Attribute *string `field:"required" json:"attribute" yaml:"attribute"` }
The IP address to evaluate for this condition.
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" ruleIpToEvaluateProperty := &RuleIpToEvaluateProperty{ Attribute: jsii.String("attribute"), }
type CfnMailManagerRuleSet_RuleNumberExpressionProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_RuleNumberExpressionProperty struct { // The number to evaluate in a numeric condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulenumberexpression.html#cfn-ses-mailmanagerruleset-rulenumberexpression-evaluate // Evaluate interface{} `field:"required" json:"evaluate" yaml:"evaluate"` // The operator for a numeric condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulenumberexpression.html#cfn-ses-mailmanagerruleset-rulenumberexpression-operator // Operator *string `field:"required" json:"operator" yaml:"operator"` // The value to evaluate in a numeric condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulenumberexpression.html#cfn-ses-mailmanagerruleset-rulenumberexpression-value // Value *float64 `field:"required" json:"value" yaml:"value"` }
A number expression to match numeric conditions with integers from the incoming email.
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" ruleNumberExpressionProperty := &RuleNumberExpressionProperty{ Evaluate: &RuleNumberToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Value: jsii.Number(123), }
type CfnMailManagerRuleSet_RuleNumberToEvaluateProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_RuleNumberToEvaluateProperty struct { // An email attribute that is used as the number to evaluate. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulenumbertoevaluate.html#cfn-ses-mailmanagerruleset-rulenumbertoevaluate-attribute // Attribute *string `field:"required" json:"attribute" yaml:"attribute"` }
The number to evaluate in a numeric condition expression.
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" ruleNumberToEvaluateProperty := &RuleNumberToEvaluateProperty{ Attribute: jsii.String("attribute"), }
type CfnMailManagerRuleSet_RuleProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_RuleProperty struct { // The list of actions to execute when the conditions match the incoming email, and none of the "unless conditions" match. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rule.html#cfn-ses-mailmanagerruleset-rule-actions // Actions interface{} `field:"required" json:"actions" yaml:"actions"` // The conditions of this rule. // // All conditions must match the email for the actions to be executed. An empty list of conditions means that all emails match, but are still subject to any "unless conditions" // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rule.html#cfn-ses-mailmanagerruleset-rule-conditions // Conditions interface{} `field:"optional" json:"conditions" yaml:"conditions"` // The user-friendly name of the rule. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rule.html#cfn-ses-mailmanagerruleset-rule-name // Name *string `field:"optional" json:"name" yaml:"name"` // The "unless conditions" of this rule. // // None of the conditions can match the email for the actions to be executed. If any of these conditions do match the email, then the actions are not executed. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rule.html#cfn-ses-mailmanagerruleset-rule-unless // Unless interface{} `field:"optional" json:"unless" yaml:"unless"` }
A rule contains conditions, "unless conditions" and actions.
For each envelope recipient of an email, if all conditions match and none of the "unless conditions" match, then all of the actions are executed sequentially. If no conditions are provided, the rule always applies and the actions are implicitly executed. If only "unless conditions" are provided, the rule applies if the email does not match the evaluation of the "unless conditions".
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 drop interface{} ruleProperty := &RuleProperty{ Actions: []interface{}{ &RuleActionProperty{ AddHeader: &AddHeaderActionProperty{ HeaderName: jsii.String("headerName"), HeaderValue: jsii.String("headerValue"), }, Archive: &ArchiveActionProperty{ TargetArchive: jsii.String("targetArchive"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), }, DeliverToMailbox: &DeliverToMailboxActionProperty{ MailboxArn: jsii.String("mailboxArn"), RoleArn: jsii.String("roleArn"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), }, Drop: drop, Relay: &RelayActionProperty{ Relay: jsii.String("relay"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), MailFrom: jsii.String("mailFrom"), }, ReplaceRecipient: &ReplaceRecipientActionProperty{ ReplaceWith: []*string{ jsii.String("replaceWith"), }, }, Send: &SendActionProperty{ RoleArn: jsii.String("roleArn"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), }, WriteToS3: &S3ActionProperty{ RoleArn: jsii.String("roleArn"), S3Bucket: jsii.String("s3Bucket"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), S3Prefix: jsii.String("s3Prefix"), S3SseKmsKeyId: jsii.String("s3SseKmsKeyId"), }, }, }, // the properties below are optional Conditions: []interface{}{ &RuleConditionProperty{ BooleanExpression: &RuleBooleanExpressionProperty{ Evaluate: &RuleBooleanToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), }, DmarcExpression: &RuleDmarcExpressionProperty{ Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, IpExpression: &RuleIpExpressionProperty{ Evaluate: &RuleIpToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, NumberExpression: &RuleNumberExpressionProperty{ Evaluate: &RuleNumberToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Value: jsii.Number(123), }, StringExpression: &RuleStringExpressionProperty{ Evaluate: &RuleStringToEvaluateProperty{ Attribute: jsii.String("attribute"), MimeHeaderAttribute: jsii.String("mimeHeaderAttribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, VerdictExpression: &RuleVerdictExpressionProperty{ Evaluate: &RuleVerdictToEvaluateProperty{ Analysis: &AnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }, Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, }, }, Name: jsii.String("name"), Unless: []interface{}{ &RuleConditionProperty{ BooleanExpression: &RuleBooleanExpressionProperty{ Evaluate: &RuleBooleanToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), }, DmarcExpression: &RuleDmarcExpressionProperty{ Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, IpExpression: &RuleIpExpressionProperty{ Evaluate: &RuleIpToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, NumberExpression: &RuleNumberExpressionProperty{ Evaluate: &RuleNumberToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Value: jsii.Number(123), }, StringExpression: &RuleStringExpressionProperty{ Evaluate: &RuleStringToEvaluateProperty{ Attribute: jsii.String("attribute"), MimeHeaderAttribute: jsii.String("mimeHeaderAttribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, VerdictExpression: &RuleVerdictExpressionProperty{ Evaluate: &RuleVerdictToEvaluateProperty{ Analysis: &AnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }, Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, }, }, }
type CfnMailManagerRuleSet_RuleStringExpressionProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_RuleStringExpressionProperty struct { // The string to evaluate in a string condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulestringexpression.html#cfn-ses-mailmanagerruleset-rulestringexpression-evaluate // Evaluate interface{} `field:"required" json:"evaluate" yaml:"evaluate"` // The matching operator for a string condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulestringexpression.html#cfn-ses-mailmanagerruleset-rulestringexpression-operator // Operator *string `field:"required" json:"operator" yaml:"operator"` // The string(s) to be evaluated in a string condition expression. // // For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulestringexpression.html#cfn-ses-mailmanagerruleset-rulestringexpression-values // Values *[]*string `field:"required" json:"values" yaml:"values"` }
A string expression is evaluated against strings or substrings of the email.
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" ruleStringExpressionProperty := &RuleStringExpressionProperty{ Evaluate: &RuleStringToEvaluateProperty{ Attribute: jsii.String("attribute"), MimeHeaderAttribute: jsii.String("mimeHeaderAttribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }
type CfnMailManagerRuleSet_RuleStringToEvaluateProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_RuleStringToEvaluateProperty struct { // The email attribute to evaluate in a string condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulestringtoevaluate.html#cfn-ses-mailmanagerruleset-rulestringtoevaluate-attribute // Attribute *string `field:"optional" json:"attribute" yaml:"attribute"` // The email MIME X-Header attribute to evaluate in a string condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulestringtoevaluate.html#cfn-ses-mailmanagerruleset-rulestringtoevaluate-mimeheaderattribute // MimeHeaderAttribute *string `field:"optional" json:"mimeHeaderAttribute" yaml:"mimeHeaderAttribute"` }
The string to evaluate in a string condition expression.
> This data type is a UNION, so only one of the following members can be specified when used or returned.
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" ruleStringToEvaluateProperty := &RuleStringToEvaluateProperty{ Attribute: jsii.String("attribute"), MimeHeaderAttribute: jsii.String("mimeHeaderAttribute"), }
type CfnMailManagerRuleSet_RuleVerdictExpressionProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_RuleVerdictExpressionProperty struct { // The verdict to evaluate in a verdict condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleverdictexpression.html#cfn-ses-mailmanagerruleset-ruleverdictexpression-evaluate // Evaluate interface{} `field:"required" json:"evaluate" yaml:"evaluate"` // The matching operator for a verdict condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleverdictexpression.html#cfn-ses-mailmanagerruleset-ruleverdictexpression-operator // Operator *string `field:"required" json:"operator" yaml:"operator"` // The values to match with the email's verdict using the given operator. // // For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleverdictexpression.html#cfn-ses-mailmanagerruleset-ruleverdictexpression-values // Values *[]*string `field:"required" json:"values" yaml:"values"` }
A verdict expression is evaluated against verdicts of the email.
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" ruleVerdictExpressionProperty := &RuleVerdictExpressionProperty{ Evaluate: &RuleVerdictToEvaluateProperty{ Analysis: &AnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }, Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }
type CfnMailManagerRuleSet_RuleVerdictToEvaluateProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_RuleVerdictToEvaluateProperty struct { // The Add On ARN and its returned value to evaluate in a verdict condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleverdicttoevaluate.html#cfn-ses-mailmanagerruleset-ruleverdicttoevaluate-analysis // Analysis interface{} `field:"optional" json:"analysis" yaml:"analysis"` // The email verdict attribute to evaluate in a string verdict expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-ruleverdicttoevaluate.html#cfn-ses-mailmanagerruleset-ruleverdicttoevaluate-attribute // Attribute *string `field:"optional" json:"attribute" yaml:"attribute"` }
The verdict to evaluate in a verdict condition expression.
> This data type is a UNION, so only one of the following members can be specified when used or returned.
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" ruleVerdictToEvaluateProperty := &RuleVerdictToEvaluateProperty{ Analysis: &AnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }, Attribute: jsii.String("attribute"), }
type CfnMailManagerRuleSet_S3ActionProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_S3ActionProperty struct { // The Amazon Resource Name (ARN) of the IAM Role to use while writing to S3. // // This role must have access to the s3:PutObject, kms:Encrypt, and kms:GenerateDataKey APIs for the given bucket. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-s3action.html#cfn-ses-mailmanagerruleset-s3action-rolearn // RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"` // The bucket name of the S3 bucket to write to. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-s3action.html#cfn-ses-mailmanagerruleset-s3action-s3bucket // S3Bucket *string `field:"required" json:"s3Bucket" yaml:"s3Bucket"` // A policy that states what to do in the case of failure. // // The action will fail if there are configuration errors. For example, the specified the bucket has been deleted. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-s3action.html#cfn-ses-mailmanagerruleset-s3action-actionfailurepolicy // ActionFailurePolicy *string `field:"optional" json:"actionFailurePolicy" yaml:"actionFailurePolicy"` // The S3 prefix to use for the write to the s3 bucket. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-s3action.html#cfn-ses-mailmanagerruleset-s3action-s3prefix // S3Prefix *string `field:"optional" json:"s3Prefix" yaml:"s3Prefix"` // The KMS Key ID to use to encrypt the message in S3. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-s3action.html#cfn-ses-mailmanagerruleset-s3action-s3ssekmskeyid // S3SseKmsKeyId *string `field:"optional" json:"s3SseKmsKeyId" yaml:"s3SseKmsKeyId"` }
Writes the MIME content of the email to an S3 bucket.
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" s3ActionProperty := &S3ActionProperty{ RoleArn: jsii.String("roleArn"), S3Bucket: jsii.String("s3Bucket"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), S3Prefix: jsii.String("s3Prefix"), S3SseKmsKeyId: jsii.String("s3SseKmsKeyId"), }
type CfnMailManagerRuleSet_SendActionProperty ¶ added in v2.154.0
type CfnMailManagerRuleSet_SendActionProperty struct { // The Amazon Resource Name (ARN) of the role to use for this action. // // This role must have access to the ses:SendRawEmail API. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-sendaction.html#cfn-ses-mailmanagerruleset-sendaction-rolearn // RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"` // A policy that states what to do in the case of failure. // // The action will fail if there are configuration errors. For example, the caller does not have the permissions to call the sendRawEmail API. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-sendaction.html#cfn-ses-mailmanagerruleset-sendaction-actionfailurepolicy // ActionFailurePolicy *string `field:"optional" json:"actionFailurePolicy" yaml:"actionFailurePolicy"` }
Sends the email to the internet using the ses:SendRawEmail API.
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" sendActionProperty := &SendActionProperty{ RoleArn: jsii.String("roleArn"), // the properties below are optional ActionFailurePolicy: jsii.String("actionFailurePolicy"), }
type CfnMailManagerTrafficPolicy ¶ added in v2.154.0
type CfnMailManagerTrafficPolicy interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The Amazon Resource Name (ARN) of the traffic policy resource. AttrTrafficPolicyArn() *string // The identifier of the traffic policy resource. AttrTrafficPolicyId() *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{} // 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 // Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements. DefaultAction() *string SetDefaultAction(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 maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked. MaxMessageSizeBytes() *float64 SetMaxMessageSizeBytes(val *float64) // The tree node. Node() constructs.Node // Conditional statements for filtering email traffic. PolicyStatements() interface{} SetPolicyStatements(val interface{}) // 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 // The tags used to organize, track, or control access for the resource. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // The name of the policy. TrafficPolicyName() *string SetTrafficPolicyName(val *string) // 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) // 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{}) }
Resource to create a traffic policy for a Mail Manager ingress endpoint which contains policy statements used to evaluate whether incoming emails should be allowed or denied.
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" cfnMailManagerTrafficPolicy := awscdk.Aws_ses.NewCfnMailManagerTrafficPolicy(this, jsii.String("MyCfnMailManagerTrafficPolicy"), &CfnMailManagerTrafficPolicyProps{ DefaultAction: jsii.String("defaultAction"), PolicyStatements: []interface{}{ &PolicyStatementProperty{ Action: jsii.String("action"), Conditions: []interface{}{ &PolicyConditionProperty{ BooleanExpression: &IngressBooleanExpressionProperty{ Evaluate: &IngressBooleanToEvaluateProperty{ Analysis: &IngressAnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }, }, Operator: jsii.String("operator"), }, IpExpression: &IngressIpv4ExpressionProperty{ Evaluate: &IngressIpToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, StringExpression: &IngressStringExpressionProperty{ Evaluate: &IngressStringToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, TlsExpression: &IngressTlsProtocolExpressionProperty{ Evaluate: &IngressTlsProtocolToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Value: jsii.String("value"), }, }, }, }, }, // the properties below are optional MaxMessageSizeBytes: jsii.Number(123), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, TrafficPolicyName: jsii.String("trafficPolicyName"), })
func NewCfnMailManagerTrafficPolicy ¶ added in v2.154.0
func NewCfnMailManagerTrafficPolicy(scope constructs.Construct, id *string, props *CfnMailManagerTrafficPolicyProps) CfnMailManagerTrafficPolicy
type CfnMailManagerTrafficPolicyProps ¶ added in v2.154.0
type CfnMailManagerTrafficPolicyProps struct { // Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html#cfn-ses-mailmanagertrafficpolicy-defaultaction // DefaultAction *string `field:"required" json:"defaultAction" yaml:"defaultAction"` // Conditional statements for filtering email traffic. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html#cfn-ses-mailmanagertrafficpolicy-policystatements // PolicyStatements interface{} `field:"required" json:"policyStatements" yaml:"policyStatements"` // The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html#cfn-ses-mailmanagertrafficpolicy-maxmessagesizebytes // MaxMessageSizeBytes *float64 `field:"optional" json:"maxMessageSizeBytes" yaml:"maxMessageSizeBytes"` // The tags used to organize, track, or control access for the resource. // // For example, { "tags": {"key1":"value1", "key2":"value2"} }. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html#cfn-ses-mailmanagertrafficpolicy-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` // The name of the policy. // // The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html#cfn-ses-mailmanagertrafficpolicy-trafficpolicyname // TrafficPolicyName *string `field:"optional" json:"trafficPolicyName" yaml:"trafficPolicyName"` }
Properties for defining a `CfnMailManagerTrafficPolicy`.
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" cfnMailManagerTrafficPolicyProps := &CfnMailManagerTrafficPolicyProps{ DefaultAction: jsii.String("defaultAction"), PolicyStatements: []interface{}{ &PolicyStatementProperty{ Action: jsii.String("action"), Conditions: []interface{}{ &PolicyConditionProperty{ BooleanExpression: &IngressBooleanExpressionProperty{ Evaluate: &IngressBooleanToEvaluateProperty{ Analysis: &IngressAnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }, }, Operator: jsii.String("operator"), }, IpExpression: &IngressIpv4ExpressionProperty{ Evaluate: &IngressIpToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, StringExpression: &IngressStringExpressionProperty{ Evaluate: &IngressStringToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, TlsExpression: &IngressTlsProtocolExpressionProperty{ Evaluate: &IngressTlsProtocolToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Value: jsii.String("value"), }, }, }, }, }, // the properties below are optional MaxMessageSizeBytes: jsii.Number(123), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, TrafficPolicyName: jsii.String("trafficPolicyName"), }
type CfnMailManagerTrafficPolicy_IngressAnalysisProperty ¶ added in v2.154.0
type CfnMailManagerTrafficPolicy_IngressAnalysisProperty struct { // The Amazon Resource Name (ARN) of an Add On. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressanalysis.html#cfn-ses-mailmanagertrafficpolicy-ingressanalysis-analyzer // Analyzer *string `field:"required" json:"analyzer" yaml:"analyzer"` // The returned value from an Add On. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressanalysis.html#cfn-ses-mailmanagertrafficpolicy-ingressanalysis-resultfield // ResultField *string `field:"required" json:"resultField" yaml:"resultField"` }
The Add On ARN and its returned value that is evaluated in a policy statement's conditional expression to either deny or block the incoming email.
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" ingressAnalysisProperty := &IngressAnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }
type CfnMailManagerTrafficPolicy_IngressBooleanExpressionProperty ¶ added in v2.154.0
type CfnMailManagerTrafficPolicy_IngressBooleanExpressionProperty struct { // The operand on which to perform a boolean condition operation. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressbooleanexpression.html#cfn-ses-mailmanagertrafficpolicy-ingressbooleanexpression-evaluate // Evaluate interface{} `field:"required" json:"evaluate" yaml:"evaluate"` // The matching operator for a boolean condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressbooleanexpression.html#cfn-ses-mailmanagertrafficpolicy-ingressbooleanexpression-operator // Operator *string `field:"required" json:"operator" yaml:"operator"` }
The structure for a boolean condition matching on the incoming mail.
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" ingressBooleanExpressionProperty := &IngressBooleanExpressionProperty{ Evaluate: &IngressBooleanToEvaluateProperty{ Analysis: &IngressAnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }, }, Operator: jsii.String("operator"), }
type CfnMailManagerTrafficPolicy_IngressBooleanToEvaluateProperty ¶ added in v2.154.0
type CfnMailManagerTrafficPolicy_IngressBooleanToEvaluateProperty struct { // The structure type for a boolean condition stating the Add On ARN and its returned value. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressbooleantoevaluate.html#cfn-ses-mailmanagertrafficpolicy-ingressbooleantoevaluate-analysis // Analysis interface{} `field:"required" json:"analysis" yaml:"analysis"` }
The union type representing the allowed types of operands for a boolean condition.
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" ingressBooleanToEvaluateProperty := &IngressBooleanToEvaluateProperty{ Analysis: &IngressAnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }, }
type CfnMailManagerTrafficPolicy_IngressIpToEvaluateProperty ¶ added in v2.154.0
type CfnMailManagerTrafficPolicy_IngressIpToEvaluateProperty struct { // An enum type representing the allowed attribute types for an IP condition. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressiptoevaluate.html#cfn-ses-mailmanagertrafficpolicy-ingressiptoevaluate-attribute // Attribute *string `field:"required" json:"attribute" yaml:"attribute"` }
The structure for an IP based condition matching on the incoming mail.
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" ingressIpToEvaluateProperty := &IngressIpToEvaluateProperty{ Attribute: jsii.String("attribute"), }
type CfnMailManagerTrafficPolicy_IngressIpv4ExpressionProperty ¶ added in v2.154.0
type CfnMailManagerTrafficPolicy_IngressIpv4ExpressionProperty struct { // The left hand side argument of an IP condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressipv4expression.html#cfn-ses-mailmanagertrafficpolicy-ingressipv4expression-evaluate // Evaluate interface{} `field:"required" json:"evaluate" yaml:"evaluate"` // The matching operator for an IP condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressipv4expression.html#cfn-ses-mailmanagertrafficpolicy-ingressipv4expression-operator // Operator *string `field:"required" json:"operator" yaml:"operator"` // The right hand side argument of an IP condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressipv4expression.html#cfn-ses-mailmanagertrafficpolicy-ingressipv4expression-values // Values *[]*string `field:"required" json:"values" yaml:"values"` }
The union type representing the allowed types for the left hand side of an IP condition.
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" ingressIpv4ExpressionProperty := &IngressIpv4ExpressionProperty{ Evaluate: &IngressIpToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }
type CfnMailManagerTrafficPolicy_IngressStringExpressionProperty ¶ added in v2.154.0
type CfnMailManagerTrafficPolicy_IngressStringExpressionProperty struct { // The left hand side argument of a string condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressstringexpression.html#cfn-ses-mailmanagertrafficpolicy-ingressstringexpression-evaluate // Evaluate interface{} `field:"required" json:"evaluate" yaml:"evaluate"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressstringexpression.html#cfn-ses-mailmanagertrafficpolicy-ingressstringexpression-operator // Operator *string `field:"required" json:"operator" yaml:"operator"` // The right hand side argument of a string condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressstringexpression.html#cfn-ses-mailmanagertrafficpolicy-ingressstringexpression-values // Values *[]*string `field:"required" json:"values" yaml:"values"` }
The structure for a string based condition matching on the incoming mail.
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" ingressStringExpressionProperty := &IngressStringExpressionProperty{ Evaluate: &IngressStringToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }
type CfnMailManagerTrafficPolicy_IngressStringToEvaluateProperty ¶ added in v2.154.0
type CfnMailManagerTrafficPolicy_IngressStringToEvaluateProperty struct { // The enum type representing the allowed attribute types for a string condition. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressstringtoevaluate.html#cfn-ses-mailmanagertrafficpolicy-ingressstringtoevaluate-attribute // Attribute *string `field:"required" json:"attribute" yaml:"attribute"` }
The union type representing the allowed types for the left hand side of a string condition.
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" ingressStringToEvaluateProperty := &IngressStringToEvaluateProperty{ Attribute: jsii.String("attribute"), }
type CfnMailManagerTrafficPolicy_IngressTlsProtocolExpressionProperty ¶ added in v2.154.0
type CfnMailManagerTrafficPolicy_IngressTlsProtocolExpressionProperty struct { // The left hand side argument of a TLS condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingresstlsprotocolexpression.html#cfn-ses-mailmanagertrafficpolicy-ingresstlsprotocolexpression-evaluate // Evaluate interface{} `field:"required" json:"evaluate" yaml:"evaluate"` // The matching operator for a TLS condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingresstlsprotocolexpression.html#cfn-ses-mailmanagertrafficpolicy-ingresstlsprotocolexpression-operator // Operator *string `field:"required" json:"operator" yaml:"operator"` // The right hand side argument of a TLS condition expression. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingresstlsprotocolexpression.html#cfn-ses-mailmanagertrafficpolicy-ingresstlsprotocolexpression-value // Value *string `field:"required" json:"value" yaml:"value"` }
The structure for a TLS related condition matching on the incoming mail.
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" ingressTlsProtocolExpressionProperty := &IngressTlsProtocolExpressionProperty{ Evaluate: &IngressTlsProtocolToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Value: jsii.String("value"), }
type CfnMailManagerTrafficPolicy_IngressTlsProtocolToEvaluateProperty ¶ added in v2.154.0
type CfnMailManagerTrafficPolicy_IngressTlsProtocolToEvaluateProperty struct { // The enum type representing the allowed attribute types for the TLS condition. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingresstlsprotocoltoevaluate.html#cfn-ses-mailmanagertrafficpolicy-ingresstlsprotocoltoevaluate-attribute // Attribute *string `field:"required" json:"attribute" yaml:"attribute"` }
The union type representing the allowed types for the left hand side of a TLS condition.
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" ingressTlsProtocolToEvaluateProperty := &IngressTlsProtocolToEvaluateProperty{ Attribute: jsii.String("attribute"), }
type CfnMailManagerTrafficPolicy_PolicyConditionProperty ¶ added in v2.154.0
type CfnMailManagerTrafficPolicy_PolicyConditionProperty struct { // This represents a boolean type condition matching on the incoming mail. // // It performs the boolean operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policycondition.html#cfn-ses-mailmanagertrafficpolicy-policycondition-booleanexpression // BooleanExpression interface{} `field:"optional" json:"booleanExpression" yaml:"booleanExpression"` // This represents an IP based condition matching on the incoming mail. // // It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policycondition.html#cfn-ses-mailmanagertrafficpolicy-policycondition-ipexpression // IpExpression interface{} `field:"optional" json:"ipExpression" yaml:"ipExpression"` // This represents a string based condition matching on the incoming mail. // // It performs the string operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policycondition.html#cfn-ses-mailmanagertrafficpolicy-policycondition-stringexpression // StringExpression interface{} `field:"optional" json:"stringExpression" yaml:"stringExpression"` // This represents a TLS based condition matching on the incoming mail. // // It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policycondition.html#cfn-ses-mailmanagertrafficpolicy-policycondition-tlsexpression // TlsExpression interface{} `field:"optional" json:"tlsExpression" yaml:"tlsExpression"` }
The email traffic filtering conditions which are contained in a traffic policy resource.
> This data type is a UNION, so only one of the following members can be specified when used or returned.
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" policyConditionProperty := &PolicyConditionProperty{ BooleanExpression: &IngressBooleanExpressionProperty{ Evaluate: &IngressBooleanToEvaluateProperty{ Analysis: &IngressAnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }, }, Operator: jsii.String("operator"), }, IpExpression: &IngressIpv4ExpressionProperty{ Evaluate: &IngressIpToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, StringExpression: &IngressStringExpressionProperty{ Evaluate: &IngressStringToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, TlsExpression: &IngressTlsProtocolExpressionProperty{ Evaluate: &IngressTlsProtocolToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Value: jsii.String("value"), }, }
type CfnMailManagerTrafficPolicy_PolicyStatementProperty ¶ added in v2.154.0
type CfnMailManagerTrafficPolicy_PolicyStatementProperty struct { // The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policystatement.html#cfn-ses-mailmanagertrafficpolicy-policystatement-action // Action *string `field:"required" json:"action" yaml:"action"` // The list of conditions to apply to incoming messages for filtering email traffic. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policystatement.html#cfn-ses-mailmanagertrafficpolicy-policystatement-conditions // Conditions interface{} `field:"required" json:"conditions" yaml:"conditions"` }
The structure containing traffic policy conditions and actions.
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" policyStatementProperty := &PolicyStatementProperty{ Action: jsii.String("action"), Conditions: []interface{}{ &PolicyConditionProperty{ BooleanExpression: &IngressBooleanExpressionProperty{ Evaluate: &IngressBooleanToEvaluateProperty{ Analysis: &IngressAnalysisProperty{ Analyzer: jsii.String("analyzer"), ResultField: jsii.String("resultField"), }, }, Operator: jsii.String("operator"), }, IpExpression: &IngressIpv4ExpressionProperty{ Evaluate: &IngressIpToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, StringExpression: &IngressStringExpressionProperty{ Evaluate: &IngressStringToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Values: []*string{ jsii.String("values"), }, }, TlsExpression: &IngressTlsProtocolExpressionProperty{ Evaluate: &IngressTlsProtocolToEvaluateProperty{ Attribute: jsii.String("attribute"), }, Operator: jsii.String("operator"), Value: jsii.String("value"), }, }, }, }
type CfnReceiptFilter ¶
type CfnReceiptFilter interface { awscdk.CfnResource awscdk.IInspectable AttrId() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // 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 // A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it. Filter() interface{} SetFilter(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 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 // 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) // 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{}) }
Specify a new IP address filter.
You use IP address filters when you receive email with Amazon SES.
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" cfnReceiptFilter := awscdk.Aws_ses.NewCfnReceiptFilter(this, jsii.String("MyCfnReceiptFilter"), &CfnReceiptFilterProps{ Filter: &FilterProperty{ IpFilter: &IpFilterProperty{ Cidr: jsii.String("cidr"), Policy: jsii.String("policy"), }, // the properties below are optional Name: jsii.String("name"), }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptfilter.html
func NewCfnReceiptFilter ¶
func NewCfnReceiptFilter(scope constructs.Construct, id *string, props *CfnReceiptFilterProps) CfnReceiptFilter
type CfnReceiptFilterProps ¶
type CfnReceiptFilterProps struct { // A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptfilter.html#cfn-ses-receiptfilter-filter // Filter interface{} `field:"required" json:"filter" yaml:"filter"` }
Properties for defining a `CfnReceiptFilter`.
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" cfnReceiptFilterProps := &CfnReceiptFilterProps{ Filter: &FilterProperty{ IpFilter: &IpFilterProperty{ Cidr: jsii.String("cidr"), Policy: jsii.String("policy"), }, // the properties below are optional Name: jsii.String("name"), }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptfilter.html
type CfnReceiptFilter_FilterProperty ¶
type CfnReceiptFilter_FilterProperty struct { // A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptfilter-filter.html#cfn-ses-receiptfilter-filter-ipfilter // IpFilter interface{} `field:"required" json:"ipFilter" yaml:"ipFilter"` // The name of the IP address filter. The name must meet the following requirements:. // // - Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). // - Start and end with a letter or number. // - Contain 64 characters or fewer. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptfilter-filter.html#cfn-ses-receiptfilter-filter-name // Name *string `field:"optional" json:"name" yaml:"name"` }
Specifies an IP address filter.
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" filterProperty := &FilterProperty{ IpFilter: &IpFilterProperty{ Cidr: jsii.String("cidr"), Policy: jsii.String("policy"), }, // the properties below are optional Name: jsii.String("name"), }
type CfnReceiptFilter_IpFilterProperty ¶
type CfnReceiptFilter_IpFilterProperty struct { // A single IP address or a range of IP addresses to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation. // // An example of a single email address is 10.0.0.1. An example of a range of IP addresses is 10.0.0.1/24. For more information about CIDR notation, see [RFC 2317](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc2317) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptfilter-ipfilter.html#cfn-ses-receiptfilter-ipfilter-cidr // Cidr *string `field:"required" json:"cidr" yaml:"cidr"` // Indicates whether to block or allow incoming mail from the specified IP addresses. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptfilter-ipfilter.html#cfn-ses-receiptfilter-ipfilter-policy // Policy *string `field:"required" json:"policy" yaml:"policy"` }
A receipt IP address filter enables you to specify whether to accept or reject mail originating from an IP address or range of IP addresses.
For information about setting up IP address filters, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-ip-filtering-console-walkthrough.html) .
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" ipFilterProperty := &IpFilterProperty{ Cidr: jsii.String("cidr"), Policy: jsii.String("policy"), }
type CfnReceiptRule ¶
type CfnReceiptRule interface { awscdk.CfnResource awscdk.IInspectable // The name of an existing rule after which the new rule is placed. After() *string SetAfter(val *string) AttrId() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // 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 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 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 // A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy. Rule() interface{} SetRule(val interface{}) // The name of the rule set where the receipt rule is added. RuleSetName() *string SetRuleSetName(val *string) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // 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) // 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{}) }
Specifies a receipt 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" cfnReceiptRule := awscdk.Aws_ses.NewCfnReceiptRule(this, jsii.String("MyCfnReceiptRule"), &CfnReceiptRuleProps{ Rule: &RuleProperty{ Actions: []interface{}{ &ActionProperty{ AddHeaderAction: &AddHeaderActionProperty{ HeaderName: jsii.String("headerName"), HeaderValue: jsii.String("headerValue"), }, BounceAction: &BounceActionProperty{ Message: jsii.String("message"), Sender: jsii.String("sender"), SmtpReplyCode: jsii.String("smtpReplyCode"), // the properties below are optional StatusCode: jsii.String("statusCode"), TopicArn: jsii.String("topicArn"), }, LambdaAction: &LambdaActionProperty{ FunctionArn: jsii.String("functionArn"), // the properties below are optional InvocationType: jsii.String("invocationType"), TopicArn: jsii.String("topicArn"), }, S3Action: &S3ActionProperty{ BucketName: jsii.String("bucketName"), // the properties below are optional IamRoleArn: jsii.String("iamRoleArn"), KmsKeyArn: jsii.String("kmsKeyArn"), ObjectKeyPrefix: jsii.String("objectKeyPrefix"), TopicArn: jsii.String("topicArn"), }, SnsAction: &SNSActionProperty{ Encoding: jsii.String("encoding"), TopicArn: jsii.String("topicArn"), }, StopAction: &StopActionProperty{ Scope: jsii.String("scope"), // the properties below are optional TopicArn: jsii.String("topicArn"), }, WorkmailAction: &WorkmailActionProperty{ OrganizationArn: jsii.String("organizationArn"), // the properties below are optional TopicArn: jsii.String("topicArn"), }, }, }, Enabled: jsii.Boolean(false), Name: jsii.String("name"), Recipients: []*string{ jsii.String("recipients"), }, ScanEnabled: jsii.Boolean(false), TlsPolicy: jsii.String("tlsPolicy"), }, RuleSetName: jsii.String("ruleSetName"), // the properties below are optional After: jsii.String("after"), })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptrule.html
func NewCfnReceiptRule ¶
func NewCfnReceiptRule(scope constructs.Construct, id *string, props *CfnReceiptRuleProps) CfnReceiptRule
type CfnReceiptRuleProps ¶
type CfnReceiptRuleProps struct { // A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptrule.html#cfn-ses-receiptrule-rule // Rule interface{} `field:"required" json:"rule" yaml:"rule"` // The name of the rule set where the receipt rule is added. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptrule.html#cfn-ses-receiptrule-rulesetname // RuleSetName *string `field:"required" json:"ruleSetName" yaml:"ruleSetName"` // The name of an existing rule after which the new rule is placed. // // If this parameter is null, the new rule is inserted at the beginning of the rule list. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptrule.html#cfn-ses-receiptrule-after // After *string `field:"optional" json:"after" yaml:"after"` }
Properties for defining a `CfnReceiptRule`.
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" cfnReceiptRuleProps := &CfnReceiptRuleProps{ Rule: &RuleProperty{ Actions: []interface{}{ &ActionProperty{ AddHeaderAction: &AddHeaderActionProperty{ HeaderName: jsii.String("headerName"), HeaderValue: jsii.String("headerValue"), }, BounceAction: &BounceActionProperty{ Message: jsii.String("message"), Sender: jsii.String("sender"), SmtpReplyCode: jsii.String("smtpReplyCode"), // the properties below are optional StatusCode: jsii.String("statusCode"), TopicArn: jsii.String("topicArn"), }, LambdaAction: &LambdaActionProperty{ FunctionArn: jsii.String("functionArn"), // the properties below are optional InvocationType: jsii.String("invocationType"), TopicArn: jsii.String("topicArn"), }, S3Action: &S3ActionProperty{ BucketName: jsii.String("bucketName"), // the properties below are optional IamRoleArn: jsii.String("iamRoleArn"), KmsKeyArn: jsii.String("kmsKeyArn"), ObjectKeyPrefix: jsii.String("objectKeyPrefix"), TopicArn: jsii.String("topicArn"), }, SnsAction: &SNSActionProperty{ Encoding: jsii.String("encoding"), TopicArn: jsii.String("topicArn"), }, StopAction: &StopActionProperty{ Scope: jsii.String("scope"), // the properties below are optional TopicArn: jsii.String("topicArn"), }, WorkmailAction: &WorkmailActionProperty{ OrganizationArn: jsii.String("organizationArn"), // the properties below are optional TopicArn: jsii.String("topicArn"), }, }, }, Enabled: jsii.Boolean(false), Name: jsii.String("name"), Recipients: []*string{ jsii.String("recipients"), }, ScanEnabled: jsii.Boolean(false), TlsPolicy: jsii.String("tlsPolicy"), }, RuleSetName: jsii.String("ruleSetName"), // the properties below are optional After: jsii.String("after"), }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptrule.html
type CfnReceiptRuleSet ¶
type CfnReceiptRuleSet interface { awscdk.CfnResource awscdk.IInspectable AttrId() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // 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 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 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 name of the receipt rule set to make active. RuleSetName() *string SetRuleSetName(val *string) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // 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) // 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{}) }
Creates an empty receipt rule set.
For information about setting up receipt rule sets, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-concepts.html#receiving-email-concepts-rules) .
You can execute this operation no more than once per second.
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" cfnReceiptRuleSet := awscdk.Aws_ses.NewCfnReceiptRuleSet(this, jsii.String("MyCfnReceiptRuleSet"), &CfnReceiptRuleSetProps{ RuleSetName: jsii.String("ruleSetName"), })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptruleset.html
func NewCfnReceiptRuleSet ¶
func NewCfnReceiptRuleSet(scope constructs.Construct, id *string, props *CfnReceiptRuleSetProps) CfnReceiptRuleSet
type CfnReceiptRuleSetProps ¶
type CfnReceiptRuleSetProps struct { // The name of the receipt rule set to make active. // // Setting this value to null disables all email receiving. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptruleset.html#cfn-ses-receiptruleset-rulesetname // RuleSetName *string `field:"optional" json:"ruleSetName" yaml:"ruleSetName"` }
Properties for defining a `CfnReceiptRuleSet`.
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" cfnReceiptRuleSetProps := &CfnReceiptRuleSetProps{ RuleSetName: jsii.String("ruleSetName"), }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptruleset.html
type CfnReceiptRule_ActionProperty ¶
type CfnReceiptRule_ActionProperty struct { // Adds a header to the received email. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-action.html#cfn-ses-receiptrule-action-addheaderaction // AddHeaderAction interface{} `field:"optional" json:"addHeaderAction" yaml:"addHeaderAction"` // Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-action.html#cfn-ses-receiptrule-action-bounceaction // BounceAction interface{} `field:"optional" json:"bounceAction" yaml:"bounceAction"` // Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-action.html#cfn-ses-receiptrule-action-lambdaaction // LambdaAction interface{} `field:"optional" json:"lambdaAction" yaml:"lambdaAction"` // Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-action.html#cfn-ses-receiptrule-action-s3action // S3Action interface{} `field:"optional" json:"s3Action" yaml:"s3Action"` // Publishes the email content within a notification to Amazon SNS. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-action.html#cfn-ses-receiptrule-action-snsaction // SnsAction interface{} `field:"optional" json:"snsAction" yaml:"snsAction"` // Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-action.html#cfn-ses-receiptrule-action-stopaction // StopAction interface{} `field:"optional" json:"stopAction" yaml:"stopAction"` // Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-action.html#cfn-ses-receiptrule-action-workmailaction // WorkmailAction interface{} `field:"optional" json:"workmailAction" yaml:"workmailAction"` }
An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own.
An instance of this data type can represent only one action.
For information about setting up receipt rules, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-receipt-rules-console-walkthrough.html) .
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" actionProperty := &ActionProperty{ AddHeaderAction: &AddHeaderActionProperty{ HeaderName: jsii.String("headerName"), HeaderValue: jsii.String("headerValue"), }, BounceAction: &BounceActionProperty{ Message: jsii.String("message"), Sender: jsii.String("sender"), SmtpReplyCode: jsii.String("smtpReplyCode"), // the properties below are optional StatusCode: jsii.String("statusCode"), TopicArn: jsii.String("topicArn"), }, LambdaAction: &LambdaActionProperty{ FunctionArn: jsii.String("functionArn"), // the properties below are optional InvocationType: jsii.String("invocationType"), TopicArn: jsii.String("topicArn"), }, S3Action: &S3ActionProperty{ BucketName: jsii.String("bucketName"), // the properties below are optional IamRoleArn: jsii.String("iamRoleArn"), KmsKeyArn: jsii.String("kmsKeyArn"), ObjectKeyPrefix: jsii.String("objectKeyPrefix"), TopicArn: jsii.String("topicArn"), }, SnsAction: &SNSActionProperty{ Encoding: jsii.String("encoding"), TopicArn: jsii.String("topicArn"), }, StopAction: &StopActionProperty{ Scope: jsii.String("scope"), // the properties below are optional TopicArn: jsii.String("topicArn"), }, WorkmailAction: &WorkmailActionProperty{ OrganizationArn: jsii.String("organizationArn"), // the properties below are optional TopicArn: jsii.String("topicArn"), }, }
type CfnReceiptRule_AddHeaderActionProperty ¶
type CfnReceiptRule_AddHeaderActionProperty struct { // The name of the header to add to the incoming message. // // The name must contain at least one character, and can contain up to 50 characters. It consists of alphanumeric ( `a–z, A–Z, 0–9` ) characters and dashes. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-addheaderaction.html#cfn-ses-receiptrule-addheaderaction-headername // HeaderName *string `field:"required" json:"headerName" yaml:"headerName"` // The content to include in the header. // // This value can contain up to 2048 characters. It can't contain newline ( `\n` ) or carriage return ( `\r` ) characters. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-addheaderaction.html#cfn-ses-receiptrule-addheaderaction-headervalue // HeaderValue *string `field:"required" json:"headerValue" yaml:"headerValue"` }
When included in a receipt rule, this action adds a header to the received email.
For information about adding a header using a receipt rule, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-receipt-rules-console-walkthrough.html) .
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" addHeaderActionProperty := &AddHeaderActionProperty{ HeaderName: jsii.String("headerName"), HeaderValue: jsii.String("headerValue"), }
type CfnReceiptRule_BounceActionProperty ¶
type CfnReceiptRule_BounceActionProperty struct { // Human-readable text to include in the bounce message. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-message // Message *string `field:"required" json:"message" yaml:"message"` // The email address of the sender of the bounced email. // // This is the address from which the bounce message is sent. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-sender // Sender *string `field:"required" json:"sender" yaml:"sender"` // The SMTP reply code, as defined by [RFC 5321](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc5321) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-smtpreplycode // SmtpReplyCode *string `field:"required" json:"smtpReplyCode" yaml:"smtpReplyCode"` // The SMTP enhanced status code, as defined by [RFC 3463](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc3463) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-statuscode // StatusCode *string `field:"optional" json:"statusCode" yaml:"statusCode"` // The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. // // You can find the ARN of a topic by using the [ListTopics](https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html) operation in Amazon SNS. // // For more information about Amazon SNS topics, see the [Amazon SNS Developer Guide](https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-topicarn // TopicArn *string `field:"optional" json:"topicArn" yaml:"topicArn"` }
When included in a receipt rule, this action rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
For information about sending a bounce message in response to a received email, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-action-bounce.html) .
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" bounceActionProperty := &BounceActionProperty{ Message: jsii.String("message"), Sender: jsii.String("sender"), SmtpReplyCode: jsii.String("smtpReplyCode"), // the properties below are optional StatusCode: jsii.String("statusCode"), TopicArn: jsii.String("topicArn"), }
type CfnReceiptRule_LambdaActionProperty ¶
type CfnReceiptRule_LambdaActionProperty struct { // The Amazon Resource Name (ARN) of the AWS Lambda function. // // An example of an AWS Lambda function ARN is `arn:aws:lambda:us-west-2:account-id:function:MyFunction` . For more information about AWS Lambda, see the [AWS Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/welcome.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-lambdaaction.html#cfn-ses-receiptrule-lambdaaction-functionarn // FunctionArn *string `field:"required" json:"functionArn" yaml:"functionArn"` // The invocation type of the AWS Lambda function. // // An invocation type of `RequestResponse` means that the execution of the function immediately results in a response, and a value of `Event` means that the function is invoked asynchronously. The default value is `Event` . For information about AWS Lambda invocation types, see the [AWS Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html) . // // > There is a 30-second timeout on `RequestResponse` invocations. You should use `Event` invocation in most cases. Use `RequestResponse` only to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-lambdaaction.html#cfn-ses-receiptrule-lambdaaction-invocationtype // InvocationType *string `field:"optional" json:"invocationType" yaml:"invocationType"` // The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is executed. // // You can find the ARN of a topic by using the [ListTopics](https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html) operation in Amazon SNS. // // For more information about Amazon SNS topics, see the [Amazon SNS Developer Guide](https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-lambdaaction.html#cfn-ses-receiptrule-lambdaaction-topicarn // TopicArn *string `field:"optional" json:"topicArn" yaml:"topicArn"` }
When included in a receipt rule, this action calls an AWS Lambda function and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
To enable Amazon SES to call your AWS Lambda function or to publish to an Amazon SNS topic of another account, Amazon SES must have permission to access those resources. For information about giving permissions, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-permissions.html) .
For information about using AWS Lambda actions in receipt rules, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-action-lambda.html) .
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" lambdaActionProperty := &LambdaActionProperty{ FunctionArn: jsii.String("functionArn"), // the properties below are optional InvocationType: jsii.String("invocationType"), TopicArn: jsii.String("topicArn"), }
type CfnReceiptRule_RuleProperty ¶
type CfnReceiptRule_RuleProperty struct { // An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-rule.html#cfn-ses-receiptrule-rule-actions // Actions interface{} `field:"optional" json:"actions" yaml:"actions"` // If `true` , the receipt rule is active. // // The default value is `false` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-rule.html#cfn-ses-receiptrule-rule-enabled // Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"` // The name of the receipt rule. The name must meet the following requirements:. // // - Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), or periods (.). // - Start and end with a letter or number. // - Contain 64 characters or fewer. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-rule.html#cfn-ses-receiptrule-rule-name // Name *string `field:"optional" json:"name" yaml:"name"` // The recipient domains and email addresses that the receipt rule applies to. // // If this field is not specified, this rule matches all recipients on all verified domains. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-rule.html#cfn-ses-receiptrule-rule-recipients // Recipients *[]*string `field:"optional" json:"recipients" yaml:"recipients"` // If `true` , then messages that this receipt rule applies to are scanned for spam and viruses. // // The default value is `false` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-rule.html#cfn-ses-receiptrule-rule-scanenabled // ScanEnabled interface{} `field:"optional" json:"scanEnabled" yaml:"scanEnabled"` // Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). // // If this parameter is set to `Require` , Amazon SES bounces emails that are not received over TLS. The default is `Optional` . // // Valid Values: `Require | Optional`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-rule.html#cfn-ses-receiptrule-rule-tlspolicy // TlsPolicy *string `field:"optional" json:"tlsPolicy" yaml:"tlsPolicy"` }
Receipt rules enable you to specify which actions Amazon SES should take when it receives mail on behalf of one or more email addresses or domains that you own.
Each receipt rule defines a set of email addresses or domains that it applies to. If the email addresses or domains match at least one recipient address of the message, Amazon SES executes all of the receipt rule's actions on the message.
For information about setting up receipt rules, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-receipt-rules-console-walkthrough.html) .
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" ruleProperty := &RuleProperty{ Actions: []interface{}{ &ActionProperty{ AddHeaderAction: &AddHeaderActionProperty{ HeaderName: jsii.String("headerName"), HeaderValue: jsii.String("headerValue"), }, BounceAction: &BounceActionProperty{ Message: jsii.String("message"), Sender: jsii.String("sender"), SmtpReplyCode: jsii.String("smtpReplyCode"), // the properties below are optional StatusCode: jsii.String("statusCode"), TopicArn: jsii.String("topicArn"), }, LambdaAction: &LambdaActionProperty{ FunctionArn: jsii.String("functionArn"), // the properties below are optional InvocationType: jsii.String("invocationType"), TopicArn: jsii.String("topicArn"), }, S3Action: &S3ActionProperty{ BucketName: jsii.String("bucketName"), // the properties below are optional IamRoleArn: jsii.String("iamRoleArn"), KmsKeyArn: jsii.String("kmsKeyArn"), ObjectKeyPrefix: jsii.String("objectKeyPrefix"), TopicArn: jsii.String("topicArn"), }, SnsAction: &SNSActionProperty{ Encoding: jsii.String("encoding"), TopicArn: jsii.String("topicArn"), }, StopAction: &StopActionProperty{ Scope: jsii.String("scope"), // the properties below are optional TopicArn: jsii.String("topicArn"), }, WorkmailAction: &WorkmailActionProperty{ OrganizationArn: jsii.String("organizationArn"), // the properties below are optional TopicArn: jsii.String("topicArn"), }, }, }, Enabled: jsii.Boolean(false), Name: jsii.String("name"), Recipients: []*string{ jsii.String("recipients"), }, ScanEnabled: jsii.Boolean(false), TlsPolicy: jsii.String("tlsPolicy"), }
type CfnReceiptRule_S3ActionProperty ¶
type CfnReceiptRule_S3ActionProperty struct { // The name of the Amazon S3 bucket for incoming email. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-bucketname // BucketName *string `field:"required" json:"bucketName" yaml:"bucketName"` // The ARN of the IAM role to be used by Amazon Simple Email Service while writing to the Amazon S3 bucket, optionally encrypting your mail via the provided customer managed key, and publishing to the Amazon SNS topic. // // This role should have access to the following APIs: // // - `s3:PutObject` , `kms:Encrypt` and `kms:GenerateDataKey` for the given Amazon S3 bucket. // - `kms:GenerateDataKey` for the given AWS KMS customer managed key. // - `sns:Publish` for the given Amazon SNS topic. // // > If an IAM role ARN is provided, the role (and only the role) is used to access all the given resources (Amazon S3 bucket, AWS KMS customer managed key and Amazon SNS topic). Therefore, setting up individual resource access permissions is not required. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-iamrolearn // IamRoleArn *string `field:"optional" json:"iamRoleArn" yaml:"iamRoleArn"` // The customer managed key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. // // You can use the AWS managed key or a customer managed key that you created in AWS KMS as follows: // // - To use the AWS managed key, provide an ARN in the form of `arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses` . For example, if your AWS account ID is 123456789012 and you want to use the AWS managed key in the US West (Oregon) Region, the ARN of the AWS managed key would be `arn:aws:kms:us-west-2:123456789012:alias/aws/ses` . If you use the AWS managed key, you don't need to perform any extra steps to give Amazon SES permission to use the key. // - To use a customer managed key that you created in AWS KMS, provide the ARN of the customer managed key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-permissions.html) . // // For more information about key policies, see the [AWS KMS Developer Guide](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html) . If you do not specify an AWS KMS key, Amazon SES does not encrypt your emails. // // > Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the [AWS SDK for Java](https://docs.aws.amazon.com/sdk-for-java/) and [AWS SDK for Ruby](https://docs.aws.amazon.com/sdk-for-ruby/) only. For more information about client-side encryption using AWS KMS managed keys, see the [Amazon S3 Developer Guide](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-kmskeyarn // KmsKeyArn *string `field:"optional" json:"kmsKeyArn" yaml:"kmsKeyArn"` // The key prefix of the Amazon S3 bucket. // // The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-objectkeyprefix // ObjectKeyPrefix *string `field:"optional" json:"objectKeyPrefix" yaml:"objectKeyPrefix"` // The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. // // You can find the ARN of a topic by using the [ListTopics](https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html) operation in Amazon SNS. // // For more information about Amazon SNS topics, see the [Amazon SNS Developer Guide](https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-topicarn // TopicArn *string `field:"optional" json:"topicArn" yaml:"topicArn"` }
When included in a receipt rule, this action saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
To enable Amazon SES to write emails to your Amazon S3 bucket, use an AWS KMS key to encrypt your emails, or publish to an Amazon SNS topic of another account, Amazon SES must have permission to access those resources. For information about granting permissions, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-permissions.html) .
> When you save your emails to an Amazon S3 bucket, the maximum email size (including headers) is 30 MB. Emails larger than that bounces.
For information about specifying Amazon S3 actions in receipt rules, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-action-s3.html) .
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" s3ActionProperty := &S3ActionProperty{ BucketName: jsii.String("bucketName"), // the properties below are optional IamRoleArn: jsii.String("iamRoleArn"), KmsKeyArn: jsii.String("kmsKeyArn"), ObjectKeyPrefix: jsii.String("objectKeyPrefix"), TopicArn: jsii.String("topicArn"), }
type CfnReceiptRule_SNSActionProperty ¶
type CfnReceiptRule_SNSActionProperty struct { // The encoding to use for the email within the Amazon SNS notification. // // UTF-8 is easier to use, but may not preserve all special characters when a message was encoded with a different encoding format. Base64 preserves all special characters. The default value is UTF-8. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-snsaction.html#cfn-ses-receiptrule-snsaction-encoding // Encoding *string `field:"optional" json:"encoding" yaml:"encoding"` // The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. // // You can find the ARN of a topic by using the [ListTopics](https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html) operation in Amazon SNS. // // For more information about Amazon SNS topics, see the [Amazon SNS Developer Guide](https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-snsaction.html#cfn-ses-receiptrule-snsaction-topicarn // TopicArn *string `field:"optional" json:"topicArn" yaml:"topicArn"` }
When included in a receipt rule, this action publishes a notification to Amazon Simple Notification Service (Amazon SNS).
This action includes a complete copy of the email content in the Amazon SNS notifications. Amazon SNS notifications for all other actions simply provide information about the email. They do not include the email content itself.
If you own the Amazon SNS topic, you don't need to do anything to give Amazon SES permission to publish emails to it. However, if you don't own the Amazon SNS topic, you need to attach a policy to the topic to give Amazon SES permissions to access it. For information about giving permissions, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-permissions.html) .
> You can only publish emails that are 150 KB or less (including the header) to Amazon SNS. Larger emails bounce. If you anticipate emails larger than 150 KB, use the S3 action instead.
For information about using a receipt rule to publish an Amazon SNS notification, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-action-sns.html) .
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" sNSActionProperty := &SNSActionProperty{ Encoding: jsii.String("encoding"), TopicArn: jsii.String("topicArn"), }
type CfnReceiptRule_StopActionProperty ¶
type CfnReceiptRule_StopActionProperty struct { // The scope of the StopAction. // // The only acceptable value is `RuleSet` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-stopaction.html#cfn-ses-receiptrule-stopaction-scope // Scope *string `field:"required" json:"scope" yaml:"scope"` // The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. // // You can find the ARN of a topic by using the [ListTopics](https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html) Amazon SNS operation. // // For more information about Amazon SNS topics, see the [Amazon SNS Developer Guide](https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-stopaction.html#cfn-ses-receiptrule-stopaction-topicarn // TopicArn *string `field:"optional" json:"topicArn" yaml:"topicArn"` }
When included in a receipt rule, this action terminates the evaluation of the receipt rule set and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
For information about setting a stop action in a receipt rule, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-action-stop.html) .
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" stopActionProperty := &StopActionProperty{ Scope: jsii.String("scope"), // the properties below are optional TopicArn: jsii.String("topicArn"), }
type CfnReceiptRule_WorkmailActionProperty ¶
type CfnReceiptRule_WorkmailActionProperty struct { // The Amazon Resource Name (ARN) of the Amazon WorkMail organization. Amazon WorkMail ARNs use the following format:. // // `arn:aws:workmail:<region>:<awsAccountId>:organization/<workmailOrganizationId>` // // You can find the ID of your organization by using the [ListOrganizations](https://docs.aws.amazon.com/workmail/latest/APIReference/API_ListOrganizations.html) operation in Amazon WorkMail. Amazon WorkMail organization IDs begin with " `m-` ", followed by a string of alphanumeric characters. // // For information about Amazon WorkMail organizations, see the [Amazon WorkMail Administrator Guide](https://docs.aws.amazon.com/workmail/latest/adminguide/organizations_overview.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-workmailaction.html#cfn-ses-receiptrule-workmailaction-organizationarn // OrganizationArn *string `field:"required" json:"organizationArn" yaml:"organizationArn"` // The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. // // You can find the ARN of a topic by using the [ListTopics](https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html) operation in Amazon SNS. // // For more information about Amazon SNS topics, see the [Amazon SNS Developer Guide](https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-workmailaction.html#cfn-ses-receiptrule-workmailaction-topicarn // TopicArn *string `field:"optional" json:"topicArn" yaml:"topicArn"` }
When included in a receipt rule, this action calls Amazon WorkMail and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
It usually isn't necessary to set this up manually, because Amazon WorkMail adds the rule automatically during its setup procedure.
For information using a receipt rule to call Amazon WorkMail, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-action-workmail.html) .
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" workmailActionProperty := &WorkmailActionProperty{ OrganizationArn: jsii.String("organizationArn"), // the properties below are optional TopicArn: jsii.String("topicArn"), }
type CfnTemplate ¶
type CfnTemplate interface { awscdk.CfnResource awscdk.IInspectable AttrId() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // 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 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 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 // The content of the email, composed of a subject line and either an HTML part or a text-only part. Template() interface{} SetTemplate(val interface{}) // 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) // 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{}) }
Specifies an email template.
Email templates enable you to send personalized email to one or more destinations in a single API operation.
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" cfnTemplate := awscdk.Aws_ses.NewCfnTemplate(this, jsii.String("MyCfnTemplate"), &CfnTemplateProps{ Template: &TemplateProperty{ SubjectPart: jsii.String("subjectPart"), // the properties below are optional HtmlPart: jsii.String("htmlPart"), TemplateName: jsii.String("templateName"), TextPart: jsii.String("textPart"), }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html
func NewCfnTemplate ¶
func NewCfnTemplate(scope constructs.Construct, id *string, props *CfnTemplateProps) CfnTemplate
type CfnTemplateProps ¶
type CfnTemplateProps struct { // The content of the email, composed of a subject line and either an HTML part or a text-only part. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html#cfn-ses-template-template // Template interface{} `field:"optional" json:"template" yaml:"template"` }
Properties for defining a `CfnTemplate`.
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" cfnTemplateProps := &CfnTemplateProps{ Template: &TemplateProperty{ SubjectPart: jsii.String("subjectPart"), // the properties below are optional HtmlPart: jsii.String("htmlPart"), TemplateName: jsii.String("templateName"), TextPart: jsii.String("textPart"), }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html
type CfnTemplate_TemplateProperty ¶
type CfnTemplate_TemplateProperty struct { // The subject line of the email. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-template-template.html#cfn-ses-template-template-subjectpart // SubjectPart *string `field:"required" json:"subjectPart" yaml:"subjectPart"` // The HTML body of the email. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-template-template.html#cfn-ses-template-template-htmlpart // HtmlPart *string `field:"optional" json:"htmlPart" yaml:"htmlPart"` // The name of the template. // // You will refer to this name when you send email using the `SendTemplatedEmail` or `SendBulkTemplatedEmail` operations. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-template-template.html#cfn-ses-template-template-templatename // TemplateName *string `field:"optional" json:"templateName" yaml:"templateName"` // The email body that is visible to recipients whose email clients do not display HTML content. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-template-template.html#cfn-ses-template-template-textpart // TextPart *string `field:"optional" json:"textPart" yaml:"textPart"` }
An object that defines the email template to use for an email message, and the values to use for any message variables in that template.
An *email template* is a type of message template that contains content that you want to define, save, and reuse in email messages that you send.
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" templateProperty := &TemplateProperty{ SubjectPart: jsii.String("subjectPart"), // the properties below are optional HtmlPart: jsii.String("htmlPart"), TemplateName: jsii.String("templateName"), TextPart: jsii.String("textPart"), }
type CfnVdmAttributes ¶ added in v2.51.0
type CfnVdmAttributes interface { awscdk.CfnResource awscdk.IInspectable // Unique identifier for this resource. AttrVdmAttributesResourceId() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // 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 // Specifies additional settings for your VDM configuration as applicable to the Dashboard. DashboardAttributes() interface{} SetDashboardAttributes(val interface{}) // Specifies additional settings for your VDM configuration as applicable to the Guardian. GuardianAttributes() interface{} SetGuardianAttributes(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 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 // 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) // 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{}) }
The Virtual Deliverability Manager (VDM) attributes that apply to your Amazon SES account.
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" cfnVdmAttributes := awscdk.Aws_ses.NewCfnVdmAttributes(this, jsii.String("MyCfnVdmAttributes"), &CfnVdmAttributesProps{ DashboardAttributes: &DashboardAttributesProperty{ EngagementMetrics: jsii.String("engagementMetrics"), }, GuardianAttributes: &GuardianAttributesProperty{ OptimizedSharedDelivery: jsii.String("optimizedSharedDelivery"), }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-vdmattributes.html
func NewCfnVdmAttributes ¶ added in v2.51.0
func NewCfnVdmAttributes(scope constructs.Construct, id *string, props *CfnVdmAttributesProps) CfnVdmAttributes
type CfnVdmAttributesProps ¶ added in v2.51.0
type CfnVdmAttributesProps struct { // Specifies additional settings for your VDM configuration as applicable to the Dashboard. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-vdmattributes.html#cfn-ses-vdmattributes-dashboardattributes // DashboardAttributes interface{} `field:"optional" json:"dashboardAttributes" yaml:"dashboardAttributes"` // Specifies additional settings for your VDM configuration as applicable to the Guardian. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-vdmattributes.html#cfn-ses-vdmattributes-guardianattributes // GuardianAttributes interface{} `field:"optional" json:"guardianAttributes" yaml:"guardianAttributes"` }
Properties for defining a `CfnVdmAttributes`.
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" cfnVdmAttributesProps := &CfnVdmAttributesProps{ DashboardAttributes: &DashboardAttributesProperty{ EngagementMetrics: jsii.String("engagementMetrics"), }, GuardianAttributes: &GuardianAttributesProperty{ OptimizedSharedDelivery: jsii.String("optimizedSharedDelivery"), }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-vdmattributes.html
type CfnVdmAttributes_DashboardAttributesProperty ¶ added in v2.51.0
type CfnVdmAttributes_DashboardAttributesProperty struct { // Specifies the status of your VDM engagement metrics collection. Can be one of the following:. // // - `ENABLED` – Amazon SES enables engagement metrics for your account. // - `DISABLED` – Amazon SES disables engagement metrics for your account. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-vdmattributes-dashboardattributes.html#cfn-ses-vdmattributes-dashboardattributes-engagementmetrics // EngagementMetrics *string `field:"optional" json:"engagementMetrics" yaml:"engagementMetrics"` }
An object containing additional settings for your VDM configuration as applicable to the Dashboard.
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" dashboardAttributesProperty := &DashboardAttributesProperty{ EngagementMetrics: jsii.String("engagementMetrics"), }
type CfnVdmAttributes_GuardianAttributesProperty ¶ added in v2.51.0
type CfnVdmAttributes_GuardianAttributesProperty struct { // // - `ENABLED` – Amazon SES enables optimized shared delivery for your account. // - `DISABLED` – Amazon SES disables optimized shared delivery for your account. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-vdmattributes-guardianattributes.html#cfn-ses-vdmattributes-guardianattributes-optimizedshareddelivery // OptimizedSharedDelivery *string `field:"optional" json:"optimizedSharedDelivery" yaml:"optimizedSharedDelivery"` }
An object containing additional settings for your VDM configuration as applicable to the Guardian.
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" guardianAttributesProperty := &GuardianAttributesProperty{ OptimizedSharedDelivery: jsii.String("optimizedSharedDelivery"), }
type CloudWatchDimension ¶ added in v2.74.0
type CloudWatchDimension struct { // The default value of the dimension that is published to Amazon CloudWatch if you do not provide the value of the dimension when you send an email. DefaultValue *string `field:"required" json:"defaultValue" yaml:"defaultValue"` // The name of an Amazon CloudWatch dimension associated with an email sending metric. Name *string `field:"required" json:"name" yaml:"name"` // The place where Amazon SES finds the value of a dimension to publish to Amazon CloudWatch. Source CloudWatchDimensionSource `field:"required" json:"source" yaml:"source"` }
A CloudWatch dimension upon which to categorize your emails.
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" cloudWatchDimension := &CloudWatchDimension{ DefaultValue: jsii.String("defaultValue"), Name: jsii.String("name"), Source: awscdk.Aws_ses.CloudWatchDimensionSource_EMAIL_HEADER, }
type CloudWatchDimensionSource ¶ added in v2.74.0
type CloudWatchDimensionSource string
Source for CloudWatch dimension.
const ( // Amazon SES retrieves the dimension name and value from a header in the email. // // Note: You can't use any of the following email headers as the Dimension Name: // `Received`, `To`, `From`, `DKIM-Signature`, `CC`, `message-id`, or `Return-Path`. CloudWatchDimensionSource_EMAIL_HEADER CloudWatchDimensionSource = "EMAIL_HEADER" // Amazon SES retrieves the dimension name and value from a tag that you specified in a link. // See: https://docs.aws.amazon.com/ses/latest/dg/faqs-metrics.html#sending-metric-faqs-clicks-q5 // CloudWatchDimensionSource_LINK_TAG CloudWatchDimensionSource = "LINK_TAG" // Amazon SES retrieves the dimension name and value from a tag that you specify by using the `X-SES-MESSAGE-TAGS` header or the Tags API parameter. // // You can also use the Message Tag value source to create dimensions based on Amazon SES auto-tags. // To use an auto-tag, type the complete name of the auto-tag as the Dimension Name. For example, // to create a dimension based on the configuration set auto-tag, use `ses:configuration-set` for the // Dimension Name, and the name of the configuration set for the Default Value. // See: https://docs.aws.amazon.com/ses/latest/dg/monitor-using-event-publishing.html#event-publishing-how-works // CloudWatchDimensionSource_MESSAGE_TAG CloudWatchDimensionSource = "MESSAGE_TAG" )
type ConfigurationSet ¶ added in v2.32.0
type ConfigurationSet interface { awscdk.Resource IConfigurationSet // The name of the configuration set. ConfigurationSetName() *string // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *awscdk.ResourceEnvironment // The tree node. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. PhysicalName() *string // The stack in which this resource is defined. Stack() awscdk.Stack // Adds an event destination to this configuration set. AddEventDestination(id *string, options *ConfigurationSetEventDestinationOptions) ConfigurationSetEventDestination // Apply the given removal policy to this resource. // // 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`). ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. ToString() *string }
A configuration set.
Example:
var myPool iDedicatedIpPool ses.NewConfigurationSet(this, jsii.String("ConfigurationSet"), &ConfigurationSetProps{ CustomTrackingRedirectDomain: jsii.String("track.cdk.dev"), SuppressionReasons: ses.SuppressionReasons_COMPLAINTS_ONLY, TlsPolicy: ses.ConfigurationSetTlsPolicy_REQUIRE, DedicatedIpPool: myPool, })
func NewConfigurationSet ¶ added in v2.32.0
func NewConfigurationSet(scope constructs.Construct, id *string, props *ConfigurationSetProps) ConfigurationSet
type ConfigurationSetEventDestination ¶ added in v2.74.0
type ConfigurationSetEventDestination interface { awscdk.Resource IConfigurationSetEventDestination // The ID of the configuration set event destination. ConfigurationSetEventDestinationId() *string // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *awscdk.ResourceEnvironment // The tree node. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. PhysicalName() *string // The stack in which this resource is defined. Stack() awscdk.Stack // Apply the given removal policy to this resource. // // 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`). ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. ToString() *string }
A configuration set event destination.
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 configurationSet configurationSet var eventDestination eventDestination configurationSetEventDestination := awscdk.Aws_ses.NewConfigurationSetEventDestination(this, jsii.String("MyConfigurationSetEventDestination"), &ConfigurationSetEventDestinationProps{ ConfigurationSet: configurationSet, Destination: eventDestination, // the properties below are optional ConfigurationSetEventDestinationName: jsii.String("configurationSetEventDestinationName"), Enabled: jsii.Boolean(false), Events: []emailSendingEvent{ awscdk.*Aws_ses.*emailSendingEvent_SEND, }, })
func NewConfigurationSetEventDestination ¶ added in v2.74.0
func NewConfigurationSetEventDestination(scope constructs.Construct, id *string, props *ConfigurationSetEventDestinationProps) ConfigurationSetEventDestination
type ConfigurationSetEventDestinationOptions ¶ added in v2.74.0
type ConfigurationSetEventDestinationOptions struct { // The event destination. Destination EventDestination `field:"required" json:"destination" yaml:"destination"` // A name for the configuration set event destination. // Default: - a CloudFormation generated name. // ConfigurationSetEventDestinationName *string `field:"optional" json:"configurationSetEventDestinationName" yaml:"configurationSetEventDestinationName"` // Whether Amazon SES publishes events to this destination. // Default: true. // Enabled *bool `field:"optional" json:"enabled" yaml:"enabled"` // The type of email sending events to publish to the event destination. // Default: - send all event types. // Events *[]EmailSendingEvent `field:"optional" json:"events" yaml:"events"` }
Options for a configuration set event destination.
Example:
var myConfigurationSet configurationSet var myTopic topic myConfigurationSet.AddEventDestination(jsii.String("ToSns"), &ConfigurationSetEventDestinationOptions{ Destination: ses.EventDestination_SnsTopic(myTopic), })
type ConfigurationSetEventDestinationProps ¶ added in v2.74.0
type ConfigurationSetEventDestinationProps struct { // The event destination. Destination EventDestination `field:"required" json:"destination" yaml:"destination"` // A name for the configuration set event destination. // Default: - a CloudFormation generated name. // ConfigurationSetEventDestinationName *string `field:"optional" json:"configurationSetEventDestinationName" yaml:"configurationSetEventDestinationName"` // Whether Amazon SES publishes events to this destination. // Default: true. // Enabled *bool `field:"optional" json:"enabled" yaml:"enabled"` // The type of email sending events to publish to the event destination. // Default: - send all event types. // Events *[]EmailSendingEvent `field:"optional" json:"events" yaml:"events"` // The configuration set that contains the event destination. ConfigurationSet IConfigurationSet `field:"required" json:"configurationSet" yaml:"configurationSet"` }
Properties for a configuration set event destination.
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 configurationSet configurationSet var eventDestination eventDestination configurationSetEventDestinationProps := &ConfigurationSetEventDestinationProps{ ConfigurationSet: configurationSet, Destination: eventDestination, // the properties below are optional ConfigurationSetEventDestinationName: jsii.String("configurationSetEventDestinationName"), Enabled: jsii.Boolean(false), Events: []emailSendingEvent{ awscdk.Aws_ses.*emailSendingEvent_SEND, }, }
type ConfigurationSetProps ¶ added in v2.32.0
type ConfigurationSetProps struct { // A name for the configuration set. // Default: - a CloudFormation generated name. // ConfigurationSetName *string `field:"optional" json:"configurationSetName" yaml:"configurationSetName"` // The custom subdomain that is used to redirect email recipients to the Amazon SES event tracking domain. // Default: - use the default awstrack.me domain // CustomTrackingRedirectDomain *string `field:"optional" json:"customTrackingRedirectDomain" yaml:"customTrackingRedirectDomain"` // The dedicated IP pool to associate with the configuration set. // Default: - do not use a dedicated IP pool. // DedicatedIpPool IDedicatedIpPool `field:"optional" json:"dedicatedIpPool" yaml:"dedicatedIpPool"` // Whether to publish reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. // Default: true. // ReputationMetrics *bool `field:"optional" json:"reputationMetrics" yaml:"reputationMetrics"` // Whether email sending is enabled. // Default: true. // SendingEnabled *bool `field:"optional" json:"sendingEnabled" yaml:"sendingEnabled"` // The reasons for which recipient email addresses should be automatically added to your account's suppression list. // Default: - use account level settings. // SuppressionReasons SuppressionReasons `field:"optional" json:"suppressionReasons" yaml:"suppressionReasons"` // Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). // Default: ConfigurationSetTlsPolicy.OPTIONAL // TlsPolicy ConfigurationSetTlsPolicy `field:"optional" json:"tlsPolicy" yaml:"tlsPolicy"` // The Virtual Deliverability Manager (VDM) options that apply to the configuration set. // Default: - VDM options not configured at the configuration set level. In this case, use account level settings. (To set the account level settings using CDK, use the `VdmAttributes` Construct.) // VdmOptions *VdmOptions `field:"optional" json:"vdmOptions" yaml:"vdmOptions"` }
Properties for a configuration set.
Example:
var myPool iDedicatedIpPool ses.NewConfigurationSet(this, jsii.String("ConfigurationSet"), &ConfigurationSetProps{ CustomTrackingRedirectDomain: jsii.String("track.cdk.dev"), SuppressionReasons: ses.SuppressionReasons_COMPLAINTS_ONLY, TlsPolicy: ses.ConfigurationSetTlsPolicy_REQUIRE, DedicatedIpPool: myPool, })
type ConfigurationSetTlsPolicy ¶ added in v2.32.0
type ConfigurationSetTlsPolicy string
TLS policy for a configuration set.
Example:
var myPool iDedicatedIpPool ses.NewConfigurationSet(this, jsii.String("ConfigurationSet"), &ConfigurationSetProps{ CustomTrackingRedirectDomain: jsii.String("track.cdk.dev"), SuppressionReasons: ses.SuppressionReasons_COMPLAINTS_ONLY, TlsPolicy: ses.ConfigurationSetTlsPolicy_REQUIRE, DedicatedIpPool: myPool, })
const ( // Messages are only delivered if a TLS connection can be established. ConfigurationSetTlsPolicy_REQUIRE ConfigurationSetTlsPolicy = "REQUIRE" // Messages can be delivered in plain text if a TLS connection can't be established. ConfigurationSetTlsPolicy_OPTIONAL ConfigurationSetTlsPolicy = "OPTIONAL" )
type DedicatedIpPool ¶ added in v2.32.0
type DedicatedIpPool interface { awscdk.Resource IDedicatedIpPool // The name of the dedicated IP pool. DedicatedIpPoolName() *string // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *awscdk.ResourceEnvironment // The tree node. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. PhysicalName() *string // The stack in which this resource is defined. Stack() awscdk.Stack // Apply the given removal policy to this resource. // // 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`). ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. ToString() *string }
A dedicated IP pool.
Example:
ses.NewDedicatedIpPool(this, jsii.String("Pool"), &DedicatedIpPoolProps{ DedicatedIpPoolName: jsii.String("mypool"), ScalingMode: ses.ScalingMode_STANDARD, })
func NewDedicatedIpPool ¶ added in v2.32.0
func NewDedicatedIpPool(scope constructs.Construct, id *string, props *DedicatedIpPoolProps) DedicatedIpPool
type DedicatedIpPoolProps ¶ added in v2.32.0
type DedicatedIpPoolProps struct { // A name for the dedicated IP pool. // // The name must adhere to specific constraints: it can only include // lowercase letters (a-z), numbers (0-9), underscores (_), and hyphens (-), // and must not exceed 64 characters in length. // Default: - a CloudFormation generated name. // DedicatedIpPoolName *string `field:"optional" json:"dedicatedIpPoolName" yaml:"dedicatedIpPoolName"` // The type of scailing mode to use for this IP pool. // // Updating ScalingMode doesn't require a replacement if you're updating its value from `STANDARD` to `MANAGED`. // However, updating ScalingMode from `MANAGED` to `STANDARD` is not supported. // Default: ScalingMode.STANDARD // ScalingMode ScalingMode `field:"optional" json:"scalingMode" yaml:"scalingMode"` }
Properties for a dedicated IP pool.
Example:
ses.NewDedicatedIpPool(this, jsii.String("Pool"), &DedicatedIpPoolProps{ DedicatedIpPoolName: jsii.String("mypool"), ScalingMode: ses.ScalingMode_STANDARD, })
type DkimIdentity ¶ added in v2.32.0
type DkimIdentity interface { // Binds this DKIM identity to the email identity. Bind(emailIdentity EmailIdentity, hostedZone awsroute53.IPublicHostedZone) *DkimIdentityConfig }
The identity to use for DKIM.
Example:
var myHostedZone iPublicHostedZone ses.NewEmailIdentity(this, jsii.String("Identity"), &EmailIdentityProps{ Identity: ses.Identity_PublicHostedZone(myHostedZone), DkimIdentity: ses.DkimIdentity_ByoDkim(&ByoDkimOptions{ PrivateKey: awscdk.SecretValue_SecretsManager(jsii.String("dkim-private-key")), PublicKey: jsii.String("...base64-encoded-public-key..."), Selector: jsii.String("selector"), }), })
func DkimIdentity_ByoDkim ¶ added in v2.32.0
func DkimIdentity_ByoDkim(options *ByoDkimOptions) DkimIdentity
Bring Your Own DKIM. See: https://docs.aws.amazon.com/ses/latest/dg/send-email-authentication-dkim-bring-your-own.html
func DkimIdentity_EasyDkim ¶ added in v2.32.0
func DkimIdentity_EasyDkim(signingKeyLength EasyDkimSigningKeyLength) DkimIdentity
Easy DKIM. See: https://docs.aws.amazon.com/ses/latest/dg/send-email-authentication-dkim-easy.html
type DkimIdentityConfig ¶ added in v2.32.0
type DkimIdentityConfig struct { // A private key that's used to generate a DKIM signature. // Default: - use Easy DKIM. // DomainSigningPrivateKey *string `field:"optional" json:"domainSigningPrivateKey" yaml:"domainSigningPrivateKey"` // A string that's used to identify a public key in the DNS configuration for a domain. // Default: - use Easy DKIM. // DomainSigningSelector *string `field:"optional" json:"domainSigningSelector" yaml:"domainSigningSelector"` // The key length of the future DKIM key pair to be generated. // // This can be changed // at most once per day. // Default: EasyDkimSigningKeyLength.RSA_2048_BIT // NextSigningKeyLength EasyDkimSigningKeyLength `field:"optional" json:"nextSigningKeyLength" yaml:"nextSigningKeyLength"` }
Configuration for DKIM identity.
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" dkimIdentityConfig := &DkimIdentityConfig{ DomainSigningPrivateKey: jsii.String("domainSigningPrivateKey"), DomainSigningSelector: jsii.String("domainSigningSelector"), NextSigningKeyLength: awscdk.Aws_ses.EasyDkimSigningKeyLength_RSA_1024_BIT, }
type DkimRecord ¶ added in v2.32.0
type DkimRecord struct { // The name of the record. Name *string `field:"required" json:"name" yaml:"name"` // The value of the record. Value *string `field:"required" json:"value" yaml:"value"` }
A DKIM record.
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" dkimRecord := &DkimRecord{ Name: jsii.String("name"), Value: jsii.String("value"), }
type DropSpamReceiptRule ¶
type DropSpamReceiptRule interface { constructs.Construct // The tree node. Node() constructs.Node Rule() ReceiptRule // Returns a string representation of this construct. ToString() *string }
A rule added at the top of the rule set to drop spam/virus.
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 receiptRule receiptRule var receiptRuleAction iReceiptRuleAction var receiptRuleSet receiptRuleSet dropSpamReceiptRule := awscdk.Aws_ses.NewDropSpamReceiptRule(this, jsii.String("MyDropSpamReceiptRule"), &DropSpamReceiptRuleProps{ RuleSet: receiptRuleSet, // the properties below are optional Actions: []*iReceiptRuleAction{ receiptRuleAction, }, After: receiptRule, Enabled: jsii.Boolean(false), ReceiptRuleName: jsii.String("receiptRuleName"), Recipients: []*string{ jsii.String("recipients"), }, ScanEnabled: jsii.Boolean(false), TlsPolicy: awscdk.*Aws_ses.TlsPolicy_OPTIONAL, })
func NewDropSpamReceiptRule ¶
func NewDropSpamReceiptRule(scope constructs.Construct, id *string, props *DropSpamReceiptRuleProps) DropSpamReceiptRule
type DropSpamReceiptRuleProps ¶
type DropSpamReceiptRuleProps struct { // An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule. // Default: - No actions. // Actions *[]IReceiptRuleAction `field:"optional" json:"actions" yaml:"actions"` // An existing rule after which the new rule will be placed. // Default: - The new rule is inserted at the beginning of the rule list. // After IReceiptRule `field:"optional" json:"after" yaml:"after"` // Whether the rule is active. // Default: true. // Enabled *bool `field:"optional" json:"enabled" yaml:"enabled"` // The name for the rule. // Default: - A CloudFormation generated name. // ReceiptRuleName *string `field:"optional" json:"receiptRuleName" yaml:"receiptRuleName"` // The recipient domains and email addresses that the receipt rule applies to. // Default: - Match all recipients under all verified domains. // Recipients *[]*string `field:"optional" json:"recipients" yaml:"recipients"` // Whether to scan for spam and viruses. // Default: false. // ScanEnabled *bool `field:"optional" json:"scanEnabled" yaml:"scanEnabled"` // Whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). // Default: - Optional which will not check for TLS. // TlsPolicy TlsPolicy `field:"optional" json:"tlsPolicy" yaml:"tlsPolicy"` // The name of the rule set that the receipt rule will be added to. RuleSet IReceiptRuleSet `field:"required" json:"ruleSet" yaml:"ruleSet"` }
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 receiptRule receiptRule var receiptRuleAction iReceiptRuleAction var receiptRuleSet receiptRuleSet dropSpamReceiptRuleProps := &DropSpamReceiptRuleProps{ RuleSet: receiptRuleSet, // the properties below are optional Actions: []*iReceiptRuleAction{ receiptRuleAction, }, After: receiptRule, Enabled: jsii.Boolean(false), ReceiptRuleName: jsii.String("receiptRuleName"), Recipients: []*string{ jsii.String("recipients"), }, ScanEnabled: jsii.Boolean(false), TlsPolicy: awscdk.Aws_ses.TlsPolicy_OPTIONAL, }
type EasyDkimSigningKeyLength ¶ added in v2.32.0
type EasyDkimSigningKeyLength string
The signing key length for Easy DKIM.
const ( // RSA 1024-bit. EasyDkimSigningKeyLength_RSA_1024_BIT EasyDkimSigningKeyLength = "RSA_1024_BIT" // RSA 2048-bit. EasyDkimSigningKeyLength_RSA_2048_BIT EasyDkimSigningKeyLength = "RSA_2048_BIT" )
type EmailIdentity ¶ added in v2.32.0
type EmailIdentity interface { awscdk.Resource IEmailIdentity // The host name for the first token that you have to add to the DNS configurationfor your domain. DkimDnsTokenName1() *string // The host name for the second token that you have to add to the DNS configuration for your domain. DkimDnsTokenName2() *string // The host name for the third token that you have to add to the DNS configuration for your domain. DkimDnsTokenName3() *string // The record value for the first token that you have to add to the DNS configuration for your domain. DkimDnsTokenValue1() *string // The record value for the second token that you have to add to the DNS configuration for your domain. DkimDnsTokenValue2() *string // The record value for the third token that you have to add to the DNS configuration for your domain. DkimDnsTokenValue3() *string // DKIM records for this identity. DkimRecords() *[]*DkimRecord // The ARN of the email identity. EmailIdentityArn() *string // The name of the email identity. EmailIdentityName() *string // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *awscdk.ResourceEnvironment // The tree node. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. PhysicalName() *string // The stack in which this resource is defined. Stack() awscdk.Stack // Apply the given removal policy to this resource. // // 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`). ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. GetResourceNameAttribute(nameAttr *string) *string // Adds an IAM policy statement associated with this email identity to an IAM principal's policy. Grant(grantee awsiam.IGrantable, actions ...*string) awsiam.Grant // Permits an IAM principal the send email action. // // Actions: SendEmail, SendRawEmail. GrantSendEmail(grantee awsiam.IGrantable) awsiam.Grant // Returns a string representation of this construct. ToString() *string }
An email identity.
Example:
import iam "github.com/aws/aws-cdk-go/awscdk" var user user identity := ses.NewEmailIdentity(this, jsii.String("Identity"), &EmailIdentityProps{ Identity: ses.Identity_Domain(jsii.String("cdk.dev")), }) identity.grantSendEmail(user)
func NewEmailIdentity ¶ added in v2.32.0
func NewEmailIdentity(scope constructs.Construct, id *string, props *EmailIdentityProps) EmailIdentity
type EmailIdentityProps ¶ added in v2.32.0
type EmailIdentityProps struct { // The email address or domain to verify. Identity Identity `field:"required" json:"identity" yaml:"identity"` // The configuration set to associate with the email identity. // Default: - do not use a specific configuration set. // ConfigurationSet IConfigurationSet `field:"optional" json:"configurationSet" yaml:"configurationSet"` // The type of DKIM identity to use. // Default: - Easy DKIM with a key length of 2048-bit. // DkimIdentity DkimIdentity `field:"optional" json:"dkimIdentity" yaml:"dkimIdentity"` // Whether the messages that are sent from the identity are signed using DKIM. // Default: true. // DkimSigning *bool `field:"optional" json:"dkimSigning" yaml:"dkimSigning"` // Whether to receive email notifications when bounce or complaint events occur. // // These notifications are sent to the address that you specified in the `Return-Path` // header of the original email. // // You're required to have a method of tracking bounces and complaints. If you haven't set // up another mechanism for receiving bounce or complaint notifications (for example, by // setting up an event destination), you receive an email notification when these events // occur (even if this setting is disabled). // Default: true. // FeedbackForwarding *bool `field:"optional" json:"feedbackForwarding" yaml:"feedbackForwarding"` // The action to take if the required MX record for the MAIL FROM domain isn't found when you send an email. // Default: MailFromBehaviorOnMxFailure.USE_DEFAULT_VALUE // MailFromBehaviorOnMxFailure MailFromBehaviorOnMxFailure `field:"optional" json:"mailFromBehaviorOnMxFailure" yaml:"mailFromBehaviorOnMxFailure"` // The custom MAIL FROM domain that you want the verified identity to use. // // The MAIL FROM domain // must meet the following criteria: // - It has to be a subdomain of the verified identity // - It can't be used to receive email // - It can't be used in a "From" address if the MAIL FROM domain is a destination for feedback // forwarding emails. // Default: - use amazonses.com // MailFromDomain *string `field:"optional" json:"mailFromDomain" yaml:"mailFromDomain"` }
Properties for an email identity.
Example:
import iam "github.com/aws/aws-cdk-go/awscdk" var user user identity := ses.NewEmailIdentity(this, jsii.String("Identity"), &EmailIdentityProps{ Identity: ses.Identity_Domain(jsii.String("cdk.dev")), }) identity.grantSendEmail(user)
type EmailSendingEvent ¶ added in v2.74.0
type EmailSendingEvent string
Email sending event.
const ( // The send request was successful and SES will attempt to deliver the message to the recipient's mail server. // // (If account-level or global suppression is // being used, SES will still count it as a send, but delivery is suppressed.) EmailSendingEvent_SEND EmailSendingEvent = "SEND" // SES accepted the email, but determined that it contained a virus and didn’t attempt to deliver it to the recipient’s mail server. EmailSendingEvent_REJECT EmailSendingEvent = "REJECT" // (Hard bounce) The recipient's mail server permanently rejected the email. // // (Soft bounces are only included when SES fails to deliver the email after // retrying for a period of time.) EmailSendingEvent_BOUNCE EmailSendingEvent = "BOUNCE" // The email was successfully delivered to the recipient’s mail server, but the recipient marked it as spam. EmailSendingEvent_COMPLAINT EmailSendingEvent = "COMPLAINT" // SES successfully delivered the email to the recipient's mail server. EmailSendingEvent_DELIVERY EmailSendingEvent = "DELIVERY" // The recipient received the message and opened it in their email client. EmailSendingEvent_OPEN EmailSendingEvent = "OPEN" // The recipient clicked one or more links in the email. EmailSendingEvent_CLICK EmailSendingEvent = "CLICK" // The email wasn't sent because of a template rendering issue. // // This event type // can occur when template data is missing, or when there is a mismatch between // template parameters and data. (This event type only occurs when you send email // using the `SendTemplatedEmail` or `SendBulkTemplatedEmail` API operations.) EmailSendingEvent_RENDERING_FAILURE EmailSendingEvent = "RENDERING_FAILURE" // The email couldn't be delivered to the recipient’s mail server because a temporary issue occurred. // // Delivery delays can occur, for example, when the recipient's inbox // is full, or when the receiving email server experiences a transient issue. EmailSendingEvent_DELIVERY_DELAY EmailSendingEvent = "DELIVERY_DELAY" // The email was successfully delivered, but the recipient updated their subscription preferences by clicking on an unsubscribe link as part of your subscription management. EmailSendingEvent_SUBSCRIPTION EmailSendingEvent = "SUBSCRIPTION" )
type EventDestination ¶ added in v2.74.0
type EventDestination interface { // A list of CloudWatch dimensions upon which to categorize your emails. // Default: - do not send events to CloudWatch. // Dimensions() *[]*CloudWatchDimension // A SNS topic to use as event destination. // Default: - do not send events to a SNS topic. // Topic() awssns.ITopic }
An event destination.
Example:
var myConfigurationSet configurationSet var myTopic topic myConfigurationSet.AddEventDestination(jsii.String("ToSns"), &ConfigurationSetEventDestinationOptions{ Destination: ses.EventDestination_SnsTopic(myTopic), })
func EventDestination_CloudWatchDimensions ¶ added in v2.74.0
func EventDestination_CloudWatchDimensions(dimensions *[]*CloudWatchDimension) EventDestination
Use CloudWatch dimensions as event destination.
func EventDestination_SnsTopic ¶ added in v2.74.0
func EventDestination_SnsTopic(topic awssns.ITopic) EventDestination
Use a SNS topic as event destination.
type IConfigurationSet ¶ added in v2.32.0
type IConfigurationSet interface { awscdk.IResource // The name of the configuration set. ConfigurationSetName() *string }
A configuration set.
func ConfigurationSet_FromConfigurationSetName ¶ added in v2.32.0
func ConfigurationSet_FromConfigurationSetName(scope constructs.Construct, id *string, configurationSetName *string) IConfigurationSet
Use an existing configuration set.
type IConfigurationSetEventDestination ¶ added in v2.74.0
type IConfigurationSetEventDestination interface { awscdk.IResource // The ID of the configuration set event destination. ConfigurationSetEventDestinationId() *string }
A configuration set event destination.
func ConfigurationSetEventDestination_FromConfigurationSetEventDestinationId ¶ added in v2.74.0
func ConfigurationSetEventDestination_FromConfigurationSetEventDestinationId(scope constructs.Construct, id *string, configurationSetEventDestinationId *string) IConfigurationSetEventDestination
Use an existing configuration set.
type IDedicatedIpPool ¶ added in v2.32.0
type IDedicatedIpPool interface { awscdk.IResource // The name of the dedicated IP pool. DedicatedIpPoolName() *string }
A dedicated IP pool.
func DedicatedIpPool_FromDedicatedIpPoolName ¶ added in v2.32.0
func DedicatedIpPool_FromDedicatedIpPoolName(scope constructs.Construct, id *string, dedicatedIpPoolName *string) IDedicatedIpPool
Use an existing dedicated IP pool.
type IEmailIdentity ¶ added in v2.32.0
type IEmailIdentity interface { awscdk.IResource // Adds an IAM policy statement associated with this email identity to an IAM principal's policy. Grant(grantee awsiam.IGrantable, actions ...*string) awsiam.Grant // Permits an IAM principal the send email action. // // Actions: SendEmail. GrantSendEmail(grantee awsiam.IGrantable) awsiam.Grant // The ARN of the email identity. EmailIdentityArn() *string // The name of the email identity. EmailIdentityName() *string }
An email identity.
func EmailIdentity_FromEmailIdentityName ¶ added in v2.32.0
func EmailIdentity_FromEmailIdentityName(scope constructs.Construct, id *string, emailIdentityName *string) IEmailIdentity
Use an existing email identity.
type IReceiptRule ¶
type IReceiptRule interface { awscdk.IResource // The name of the receipt rule. ReceiptRuleName() *string }
A receipt rule.
func ReceiptRule_FromReceiptRuleName ¶
func ReceiptRule_FromReceiptRuleName(scope constructs.Construct, id *string, receiptRuleName *string) IReceiptRule
type IReceiptRuleAction ¶
type IReceiptRuleAction interface { // Returns the receipt rule action specification. Bind(receiptRule IReceiptRule) *ReceiptRuleActionConfig }
An abstract action for a receipt rule.
type IReceiptRuleSet ¶
type IReceiptRuleSet interface { awscdk.IResource // Adds a new receipt rule in this rule set. // // The new rule is added after // the last added rule unless `after` is specified. AddRule(id *string, options *ReceiptRuleOptions) ReceiptRule // The receipt rule set name. ReceiptRuleSetName() *string }
A receipt rule set.
func ReceiptRuleSet_FromReceiptRuleSetName ¶
func ReceiptRuleSet_FromReceiptRuleSetName(scope constructs.Construct, id *string, receiptRuleSetName *string) IReceiptRuleSet
Import an exported receipt rule set.
type IVdmAttributes ¶ added in v2.54.0
type IVdmAttributes interface { awscdk.IResource // The name of the resource behind the Virtual Deliverability Manager attributes. VdmAttributesName() *string }
Virtual Deliverability Manager (VDM) attributes.
func VdmAttributes_FromVdmAttributesName ¶ added in v2.54.0
func VdmAttributes_FromVdmAttributesName(scope constructs.Construct, id *string, vdmAttributesName *string) IVdmAttributes
Use an existing Virtual Deliverability Manager attributes resource.
type Identity ¶ added in v2.32.0
type Identity interface { // The hosted zone associated with this identity. // Default: - no hosted zone is associated and no records are created. // HostedZone() awsroute53.IPublicHostedZone // The value of the identity. Value() *string }
Identity.
Example:
import iam "github.com/aws/aws-cdk-go/awscdk" var user user identity := ses.NewEmailIdentity(this, jsii.String("Identity"), &EmailIdentityProps{ Identity: ses.Identity_Domain(jsii.String("cdk.dev")), }) identity.grantSendEmail(user)
func Identity_Domain ¶ added in v2.32.0
Verify a domain name.
DKIM records will have to be added manually to complete the verification process.
func Identity_Email ¶ added in v2.32.0
Verify an email address.
To complete the verification process look for an email from no-reply-aws@amazon.com, open it and click the link.
func Identity_PublicHostedZone ¶ added in v2.32.0
func Identity_PublicHostedZone(hostedZone awsroute53.IPublicHostedZone) Identity
Verify a public hosted zone.
DKIM and MAIL FROM records will be added automatically to the hosted zone.
type LambdaActionConfig ¶
type LambdaActionConfig struct { // The Amazon Resource Name (ARN) of the AWS Lambda function. FunctionArn *string `field:"required" json:"functionArn" yaml:"functionArn"` // The invocation type of the AWS Lambda function. // Default: 'Event'. // InvocationType *string `field:"optional" json:"invocationType" yaml:"invocationType"` // The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is executed. // Default: - No notification is sent to SNS. // TopicArn *string `field:"optional" json:"topicArn" yaml:"topicArn"` }
LambdaAction 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" lambdaActionConfig := &LambdaActionConfig{ FunctionArn: jsii.String("functionArn"), // the properties below are optional InvocationType: jsii.String("invocationType"), TopicArn: jsii.String("topicArn"), }
type MailFromBehaviorOnMxFailure ¶ added in v2.32.0
type MailFromBehaviorOnMxFailure string
The action to take if the required MX record for the MAIL FROM domain isn't found.
const ( // The mail is sent using amazonses.com as the MAIL FROM domain. MailFromBehaviorOnMxFailure_USE_DEFAULT_VALUE MailFromBehaviorOnMxFailure = "USE_DEFAULT_VALUE" // The Amazon SES API v2 returns a `MailFromDomainNotVerified` error and doesn't attempt to deliver the email. MailFromBehaviorOnMxFailure_REJECT_MESSAGE MailFromBehaviorOnMxFailure = "REJECT_MESSAGE" )
type ReceiptFilter ¶
type ReceiptFilter interface { awscdk.Resource // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *awscdk.ResourceEnvironment // The tree node. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. PhysicalName() *string // The stack in which this resource is defined. Stack() awscdk.Stack // Apply the given removal policy to this resource. // // 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`). ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. ToString() *string }
A receipt filter.
When instantiated without props, it creates a block all receipt filter.
Example:
ses.NewReceiptFilter(this, jsii.String("Filter"), &ReceiptFilterProps{ Ip: jsii.String("1.2.3.4/16"), })
func NewReceiptFilter ¶
func NewReceiptFilter(scope constructs.Construct, id *string, props *ReceiptFilterProps) ReceiptFilter
type ReceiptFilterPolicy ¶
type ReceiptFilterPolicy string
The policy for the receipt filter.
const ( // Allow the ip address or range. ReceiptFilterPolicy_ALLOW ReceiptFilterPolicy = "ALLOW" // Block the ip address or range. ReceiptFilterPolicy_BLOCK ReceiptFilterPolicy = "BLOCK" )
type ReceiptFilterProps ¶
type ReceiptFilterProps struct { // The ip address or range to filter. // Default: 0.0.0.0/0 // Ip *string `field:"optional" json:"ip" yaml:"ip"` // The policy for the filter. // Default: Block. // Policy ReceiptFilterPolicy `field:"optional" json:"policy" yaml:"policy"` // The name for the receipt filter. // Default: a CloudFormation generated name. // ReceiptFilterName *string `field:"optional" json:"receiptFilterName" yaml:"receiptFilterName"` }
Construction properties for a ReceiptFilter.
Example:
ses.NewReceiptFilter(this, jsii.String("Filter"), &ReceiptFilterProps{ Ip: jsii.String("1.2.3.4/16"), })
type ReceiptRule ¶
type ReceiptRule interface { awscdk.Resource IReceiptRule // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *awscdk.ResourceEnvironment // The tree node. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. PhysicalName() *string // The name of the receipt rule. ReceiptRuleName() *string // The stack in which this resource is defined. Stack() awscdk.Stack // Adds an action to this receipt rule. AddAction(action IReceiptRuleAction) // Apply the given removal policy to this resource. // // 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`). ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. ToString() *string }
A new receipt rule.
Example:
ruleSet := ses.NewReceiptRuleSet(this, jsii.String("RuleSet")) awsRule := ruleSet.addRule(jsii.String("Aws"), &ReceiptRuleOptions{ Recipients: []*string{ jsii.String("aws.com"), }, })
func NewReceiptRule ¶
func NewReceiptRule(scope constructs.Construct, id *string, props *ReceiptRuleProps) ReceiptRule
type ReceiptRuleActionConfig ¶
type ReceiptRuleActionConfig struct { // Adds a header to the received email. AddHeaderAction *AddHeaderActionConfig `field:"optional" json:"addHeaderAction" yaml:"addHeaderAction"` // Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon SNS. BounceAction *BounceActionConfig `field:"optional" json:"bounceAction" yaml:"bounceAction"` // Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS. LambdaAction *LambdaActionConfig `field:"optional" json:"lambdaAction" yaml:"lambdaAction"` // Saves the received message to an Amazon S3 bucket and, optionally, publishes a notification to Amazon SNS. S3Action *S3ActionConfig `field:"optional" json:"s3Action" yaml:"s3Action"` // Publishes the email content within a notification to Amazon SNS. SnsAction *SNSActionConfig `field:"optional" json:"snsAction" yaml:"snsAction"` // Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS. StopAction *StopActionConfig `field:"optional" json:"stopAction" yaml:"stopAction"` // Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS. WorkmailAction *WorkmailActionConfig `field:"optional" json:"workmailAction" yaml:"workmailAction"` }
Properties for a receipt rule action.
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" receiptRuleActionConfig := &ReceiptRuleActionConfig{ AddHeaderAction: &AddHeaderActionConfig{ HeaderName: jsii.String("headerName"), HeaderValue: jsii.String("headerValue"), }, BounceAction: &BounceActionConfig{ Message: jsii.String("message"), Sender: jsii.String("sender"), SmtpReplyCode: jsii.String("smtpReplyCode"), // the properties below are optional StatusCode: jsii.String("statusCode"), TopicArn: jsii.String("topicArn"), }, LambdaAction: &LambdaActionConfig{ FunctionArn: jsii.String("functionArn"), // the properties below are optional InvocationType: jsii.String("invocationType"), TopicArn: jsii.String("topicArn"), }, S3Action: &S3ActionConfig{ BucketName: jsii.String("bucketName"), // the properties below are optional KmsKeyArn: jsii.String("kmsKeyArn"), ObjectKeyPrefix: jsii.String("objectKeyPrefix"), TopicArn: jsii.String("topicArn"), }, SnsAction: &SNSActionConfig{ Encoding: jsii.String("encoding"), TopicArn: jsii.String("topicArn"), }, StopAction: &StopActionConfig{ Scope: jsii.String("scope"), // the properties below are optional TopicArn: jsii.String("topicArn"), }, WorkmailAction: &WorkmailActionConfig{ OrganizationArn: jsii.String("organizationArn"), // the properties below are optional TopicArn: jsii.String("topicArn"), }, }
type ReceiptRuleOptions ¶
type ReceiptRuleOptions struct { // An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule. // Default: - No actions. // Actions *[]IReceiptRuleAction `field:"optional" json:"actions" yaml:"actions"` // An existing rule after which the new rule will be placed. // Default: - The new rule is inserted at the beginning of the rule list. // After IReceiptRule `field:"optional" json:"after" yaml:"after"` // Whether the rule is active. // Default: true. // Enabled *bool `field:"optional" json:"enabled" yaml:"enabled"` // The name for the rule. // Default: - A CloudFormation generated name. // ReceiptRuleName *string `field:"optional" json:"receiptRuleName" yaml:"receiptRuleName"` // The recipient domains and email addresses that the receipt rule applies to. // Default: - Match all recipients under all verified domains. // Recipients *[]*string `field:"optional" json:"recipients" yaml:"recipients"` // Whether to scan for spam and viruses. // Default: false. // ScanEnabled *bool `field:"optional" json:"scanEnabled" yaml:"scanEnabled"` // Whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). // Default: - Optional which will not check for TLS. // TlsPolicy TlsPolicy `field:"optional" json:"tlsPolicy" yaml:"tlsPolicy"` }
Options to add a receipt rule to a receipt rule set.
Example:
ruleSet := ses.NewReceiptRuleSet(this, jsii.String("RuleSet")) awsRule := ruleSet.addRule(jsii.String("Aws"), &ReceiptRuleOptions{ Recipients: []*string{ jsii.String("aws.com"), }, })
type ReceiptRuleProps ¶
type ReceiptRuleProps struct { // An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule. // Default: - No actions. // Actions *[]IReceiptRuleAction `field:"optional" json:"actions" yaml:"actions"` // An existing rule after which the new rule will be placed. // Default: - The new rule is inserted at the beginning of the rule list. // After IReceiptRule `field:"optional" json:"after" yaml:"after"` // Whether the rule is active. // Default: true. // Enabled *bool `field:"optional" json:"enabled" yaml:"enabled"` // The name for the rule. // Default: - A CloudFormation generated name. // ReceiptRuleName *string `field:"optional" json:"receiptRuleName" yaml:"receiptRuleName"` // The recipient domains and email addresses that the receipt rule applies to. // Default: - Match all recipients under all verified domains. // Recipients *[]*string `field:"optional" json:"recipients" yaml:"recipients"` // Whether to scan for spam and viruses. // Default: false. // ScanEnabled *bool `field:"optional" json:"scanEnabled" yaml:"scanEnabled"` // Whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). // Default: - Optional which will not check for TLS. // TlsPolicy TlsPolicy `field:"optional" json:"tlsPolicy" yaml:"tlsPolicy"` // The name of the rule set that the receipt rule will be added to. RuleSet IReceiptRuleSet `field:"required" json:"ruleSet" yaml:"ruleSet"` }
Construction properties for a ReceiptRule.
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 receiptRule receiptRule var receiptRuleAction iReceiptRuleAction var receiptRuleSet receiptRuleSet receiptRuleProps := &ReceiptRuleProps{ RuleSet: receiptRuleSet, // the properties below are optional Actions: []*iReceiptRuleAction{ receiptRuleAction, }, After: receiptRule, Enabled: jsii.Boolean(false), ReceiptRuleName: jsii.String("receiptRuleName"), Recipients: []*string{ jsii.String("recipients"), }, ScanEnabled: jsii.Boolean(false), TlsPolicy: awscdk.Aws_ses.TlsPolicy_OPTIONAL, }
type ReceiptRuleSet ¶
type ReceiptRuleSet interface { awscdk.Resource IReceiptRuleSet // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *awscdk.ResourceEnvironment // The tree node. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. PhysicalName() *string // The receipt rule set name. ReceiptRuleSetName() *string // The stack in which this resource is defined. Stack() awscdk.Stack // Adds a drop spam rule. AddDropSpamRule() // Adds a new receipt rule in this rule set. // // The new rule is added after // the last added rule unless `after` is specified. AddRule(id *string, options *ReceiptRuleOptions) ReceiptRule // Apply the given removal policy to this resource. // // 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`). ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. ToString() *string }
A new receipt rule set.
Example:
ruleSet := ses.NewReceiptRuleSet(this, jsii.String("RuleSet")) awsRule := ruleSet.addRule(jsii.String("Aws"), &ReceiptRuleOptions{ Recipients: []*string{ jsii.String("aws.com"), }, })
func NewReceiptRuleSet ¶
func NewReceiptRuleSet(scope constructs.Construct, id *string, props *ReceiptRuleSetProps) ReceiptRuleSet
type ReceiptRuleSetProps ¶
type ReceiptRuleSetProps struct { // Whether to add a first rule to stop processing messages that have at least one spam indicator. // Default: false. // DropSpam *bool `field:"optional" json:"dropSpam" yaml:"dropSpam"` // The name for the receipt rule set. // Default: - A CloudFormation generated name. // ReceiptRuleSetName *string `field:"optional" json:"receiptRuleSetName" yaml:"receiptRuleSetName"` // The list of rules to add to this rule set. // // Rules are added in the same // order as they appear in the list. // Default: - No rules are added to the rule set. // Rules *[]*ReceiptRuleOptions `field:"optional" json:"rules" yaml:"rules"` }
Construction properties for a ReceiptRuleSet.
Example:
import "github.com/aws/aws-cdk-go/awscdk" import ses "github.com/aws/aws-cdk-go/awscdk" import "github.com/aws/aws-cdk-go/awscdk" app := cdk.NewApp() stack := cdk.NewStack(app, jsii.String("Stack")) awscdk.CustomResourceConfig_Of(app).AddLogRetentionLifetime(logs.RetentionDays_TEN_YEARS) awscdk.CustomResourceConfig_Of(app).AddRemovalPolicy(cdk.RemovalPolicy_DESTROY) ses.NewReceiptRuleSet(app, jsii.String("RuleSet"), &ReceiptRuleSetProps{ DropSpam: jsii.Boolean(true), })
type S3ActionConfig ¶
type S3ActionConfig struct { // The name of the Amazon S3 bucket that you want to send incoming mail to. BucketName *string `field:"required" json:"bucketName" yaml:"bucketName"` // The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. // Default: - Emails are not encrypted. // KmsKeyArn *string `field:"optional" json:"kmsKeyArn" yaml:"kmsKeyArn"` // The key prefix of the Amazon S3 bucket. // Default: - No prefix. // ObjectKeyPrefix *string `field:"optional" json:"objectKeyPrefix" yaml:"objectKeyPrefix"` // The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. // Default: - No notification is sent to SNS. // TopicArn *string `field:"optional" json:"topicArn" yaml:"topicArn"` }
S3Action 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" s3ActionConfig := &S3ActionConfig{ BucketName: jsii.String("bucketName"), // the properties below are optional KmsKeyArn: jsii.String("kmsKeyArn"), ObjectKeyPrefix: jsii.String("objectKeyPrefix"), TopicArn: jsii.String("topicArn"), }
type SNSActionConfig ¶
type SNSActionConfig struct { // The encoding to use for the email within the Amazon SNS notification. // Default: 'UTF-8'. // Encoding *string `field:"optional" json:"encoding" yaml:"encoding"` // The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. // Default: - No notification is sent to SNS. // TopicArn *string `field:"optional" json:"topicArn" yaml:"topicArn"` }
SNSAction 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" sNSActionConfig := &SNSActionConfig{ Encoding: jsii.String("encoding"), TopicArn: jsii.String("topicArn"), }
type ScalingMode ¶ added in v2.116.0
type ScalingMode string
Scaling mode to use for this IP pool.
Example:
ses.NewDedicatedIpPool(this, jsii.String("Pool"), &DedicatedIpPoolProps{ DedicatedIpPoolName: jsii.String("mypool"), ScalingMode: ses.ScalingMode_STANDARD, })
See: https://docs.aws.amazon.com/ses/latest/dg/dedicated-ip.html
const ( // The customer controls which IPs are part of the dedicated IP pool. ScalingMode_STANDARD ScalingMode = "STANDARD" // The reputation and number of IPs are automatically managed by Amazon SES. ScalingMode_MANAGED ScalingMode = "MANAGED" )
type StopActionConfig ¶
type StopActionConfig struct { // The scope of the StopAction. // // The only acceptable value is RuleSet. Scope *string `field:"required" json:"scope" yaml:"scope"` // The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. // Default: - No notification is sent to SNS. // TopicArn *string `field:"optional" json:"topicArn" yaml:"topicArn"` }
StopAction 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" stopActionConfig := &StopActionConfig{ Scope: jsii.String("scope"), // the properties below are optional TopicArn: jsii.String("topicArn"), }
type SuppressionReasons ¶ added in v2.32.0
type SuppressionReasons string
Reasons for which recipient email addresses should be automatically added to your account's suppression list.
Example:
var myPool iDedicatedIpPool ses.NewConfigurationSet(this, jsii.String("ConfigurationSet"), &ConfigurationSetProps{ CustomTrackingRedirectDomain: jsii.String("track.cdk.dev"), SuppressionReasons: ses.SuppressionReasons_COMPLAINTS_ONLY, TlsPolicy: ses.ConfigurationSetTlsPolicy_REQUIRE, DedicatedIpPool: myPool, })
const ( // Bounces and complaints. SuppressionReasons_BOUNCES_AND_COMPLAINTS SuppressionReasons = "BOUNCES_AND_COMPLAINTS" // Bounces only. SuppressionReasons_BOUNCES_ONLY SuppressionReasons = "BOUNCES_ONLY" // Complaints only. SuppressionReasons_COMPLAINTS_ONLY SuppressionReasons = "COMPLAINTS_ONLY" )
type VdmAttributes ¶ added in v2.54.0
type VdmAttributes interface { awscdk.Resource IVdmAttributes // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. Env() *awscdk.ResourceEnvironment // The tree node. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. PhysicalName() *string // The stack in which this resource is defined. Stack() awscdk.Stack // The name of the resource behind the Virtual Deliverability Manager attributes. VdmAttributesName() *string // Resource ID for the Virtual Deliverability Manager attributes. VdmAttributesResourceId() *string // Apply the given removal policy to this resource. // // 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`). ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. ToString() *string }
Virtual Deliverability Manager (VDM) attributes.
Example:
// Enables engagement tracking and optimized shared delivery by default // Enables engagement tracking and optimized shared delivery by default ses.NewVdmAttributes(this, jsii.String("Vdm"))
func NewVdmAttributes ¶ added in v2.54.0
func NewVdmAttributes(scope constructs.Construct, id *string, props *VdmAttributesProps) VdmAttributes
type VdmAttributesProps ¶ added in v2.54.0
type VdmAttributesProps struct { // Whether engagement metrics are enabled for your account. // Default: true. // EngagementMetrics *bool `field:"optional" json:"engagementMetrics" yaml:"engagementMetrics"` // Default: true. // OptimizedSharedDelivery *bool `field:"optional" json:"optimizedSharedDelivery" yaml:"optimizedSharedDelivery"` }
Properties for the Virtual Deliverability Manager (VDM) attributes.
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" vdmAttributesProps := &VdmAttributesProps{ EngagementMetrics: jsii.Boolean(false), OptimizedSharedDelivery: jsii.Boolean(false), }
type VdmOptions ¶ added in v2.147.0
type VdmOptions struct { // If true, engagement metrics are enabled for the configuration set. // Default: - Engagement metrics not configured at the configuration set level. In this case, use account level settings. // EngagementMetrics *bool `field:"optional" json:"engagementMetrics" yaml:"engagementMetrics"` // Default: - Optimized shared delivery not configured at the configuration set level. In this case, use account level settings. // OptimizedSharedDelivery *bool `field:"optional" json:"optimizedSharedDelivery" yaml:"optimizedSharedDelivery"` }
Properties for the Virtual Deliverability Manager (VDM) options that apply to the configuration set.
Example:
ses.NewConfigurationSet(this, jsii.String("ConfigurationSetWithVdmOptions"), &ConfigurationSetProps{ VdmOptions: &VdmOptions{ EngagementMetrics: jsii.Boolean(true), OptimizedSharedDelivery: jsii.Boolean(true), }, })
type WorkmailActionConfig ¶
type WorkmailActionConfig struct { // The Amazon Resource Name (ARN) of the Amazon WorkMail organization. OrganizationArn *string `field:"required" json:"organizationArn" yaml:"organizationArn"` // The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. // Default: - No notification is sent to SNS. // TopicArn *string `field:"optional" json:"topicArn" yaml:"topicArn"` }
WorkmailAction 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" workmailActionConfig := &WorkmailActionConfig{ OrganizationArn: jsii.String("organizationArn"), // the properties below are optional TopicArn: jsii.String("topicArn"), }
Source Files ¶
- AddHeaderActionConfig.go
- AllowListReceiptFilter.go
- AllowListReceiptFilterProps.go
- AllowListReceiptFilter__checks.go
- BounceActionConfig.go
- ByoDkimOptions.go
- CfnConfigurationSet.go
- CfnConfigurationSetEventDestination.go
- CfnConfigurationSetEventDestinationProps.go
- CfnConfigurationSetEventDestination_CloudWatchDestinationProperty.go
- CfnConfigurationSetEventDestination_DimensionConfigurationProperty.go
- CfnConfigurationSetEventDestination_EventBridgeDestinationProperty.go
- CfnConfigurationSetEventDestination_EventDestinationProperty.go
- CfnConfigurationSetEventDestination_KinesisFirehoseDestinationProperty.go
- CfnConfigurationSetEventDestination_SnsDestinationProperty.go
- CfnConfigurationSetEventDestination__checks.go
- CfnConfigurationSetProps.go
- CfnConfigurationSet_DashboardOptionsProperty.go
- CfnConfigurationSet_DeliveryOptionsProperty.go
- CfnConfigurationSet_GuardianOptionsProperty.go
- CfnConfigurationSet_ReputationOptionsProperty.go
- CfnConfigurationSet_SendingOptionsProperty.go
- CfnConfigurationSet_SuppressionOptionsProperty.go
- CfnConfigurationSet_TrackingOptionsProperty.go
- CfnConfigurationSet_VdmOptionsProperty.go
- CfnConfigurationSet__checks.go
- CfnContactList.go
- CfnContactListProps.go
- CfnContactList_TopicProperty.go
- CfnContactList__checks.go
- CfnDedicatedIpPool.go
- CfnDedicatedIpPoolProps.go
- CfnDedicatedIpPool__checks.go
- CfnEmailIdentity.go
- CfnEmailIdentityProps.go
- CfnEmailIdentity_ConfigurationSetAttributesProperty.go
- CfnEmailIdentity_DkimAttributesProperty.go
- CfnEmailIdentity_DkimSigningAttributesProperty.go
- CfnEmailIdentity_FeedbackAttributesProperty.go
- CfnEmailIdentity_MailFromAttributesProperty.go
- CfnEmailIdentity__checks.go
- CfnMailManagerAddonInstance.go
- CfnMailManagerAddonInstanceProps.go
- CfnMailManagerAddonInstance__checks.go
- CfnMailManagerAddonSubscription.go
- CfnMailManagerAddonSubscriptionProps.go
- CfnMailManagerAddonSubscription__checks.go
- CfnMailManagerArchive.go
- CfnMailManagerArchiveProps.go
- CfnMailManagerArchive_ArchiveRetentionProperty.go
- CfnMailManagerArchive__checks.go
- CfnMailManagerIngressPoint.go
- CfnMailManagerIngressPointProps.go
- CfnMailManagerIngressPoint_IngressPointConfigurationProperty.go
- CfnMailManagerIngressPoint__checks.go
- CfnMailManagerRelay.go
- CfnMailManagerRelayProps.go
- CfnMailManagerRelay_RelayAuthenticationProperty.go
- CfnMailManagerRelay__checks.go
- CfnMailManagerRuleSet.go
- CfnMailManagerRuleSetProps.go
- CfnMailManagerRuleSet_AddHeaderActionProperty.go
- CfnMailManagerRuleSet_AnalysisProperty.go
- CfnMailManagerRuleSet_ArchiveActionProperty.go
- CfnMailManagerRuleSet_DeliverToMailboxActionProperty.go
- CfnMailManagerRuleSet_RelayActionProperty.go
- CfnMailManagerRuleSet_ReplaceRecipientActionProperty.go
- CfnMailManagerRuleSet_RuleActionProperty.go
- CfnMailManagerRuleSet_RuleBooleanExpressionProperty.go
- CfnMailManagerRuleSet_RuleBooleanToEvaluateProperty.go
- CfnMailManagerRuleSet_RuleConditionProperty.go
- CfnMailManagerRuleSet_RuleDmarcExpressionProperty.go
- CfnMailManagerRuleSet_RuleIpExpressionProperty.go
- CfnMailManagerRuleSet_RuleIpToEvaluateProperty.go
- CfnMailManagerRuleSet_RuleNumberExpressionProperty.go
- CfnMailManagerRuleSet_RuleNumberToEvaluateProperty.go
- CfnMailManagerRuleSet_RuleProperty.go
- CfnMailManagerRuleSet_RuleStringExpressionProperty.go
- CfnMailManagerRuleSet_RuleStringToEvaluateProperty.go
- CfnMailManagerRuleSet_RuleVerdictExpressionProperty.go
- CfnMailManagerRuleSet_RuleVerdictToEvaluateProperty.go
- CfnMailManagerRuleSet_S3ActionProperty.go
- CfnMailManagerRuleSet_SendActionProperty.go
- CfnMailManagerRuleSet__checks.go
- CfnMailManagerTrafficPolicy.go
- CfnMailManagerTrafficPolicyProps.go
- CfnMailManagerTrafficPolicy_IngressAnalysisProperty.go
- CfnMailManagerTrafficPolicy_IngressBooleanExpressionProperty.go
- CfnMailManagerTrafficPolicy_IngressBooleanToEvaluateProperty.go
- CfnMailManagerTrafficPolicy_IngressIpToEvaluateProperty.go
- CfnMailManagerTrafficPolicy_IngressIpv4ExpressionProperty.go
- CfnMailManagerTrafficPolicy_IngressStringExpressionProperty.go
- CfnMailManagerTrafficPolicy_IngressStringToEvaluateProperty.go
- CfnMailManagerTrafficPolicy_IngressTlsProtocolExpressionProperty.go
- CfnMailManagerTrafficPolicy_IngressTlsProtocolToEvaluateProperty.go
- CfnMailManagerTrafficPolicy_PolicyConditionProperty.go
- CfnMailManagerTrafficPolicy_PolicyStatementProperty.go
- CfnMailManagerTrafficPolicy__checks.go
- CfnReceiptFilter.go
- CfnReceiptFilterProps.go
- CfnReceiptFilter_FilterProperty.go
- CfnReceiptFilter_IpFilterProperty.go
- CfnReceiptFilter__checks.go
- CfnReceiptRule.go
- CfnReceiptRuleProps.go
- CfnReceiptRuleSet.go
- CfnReceiptRuleSetProps.go
- CfnReceiptRuleSet__checks.go
- CfnReceiptRule_ActionProperty.go
- CfnReceiptRule_AddHeaderActionProperty.go
- CfnReceiptRule_BounceActionProperty.go
- CfnReceiptRule_LambdaActionProperty.go
- CfnReceiptRule_RuleProperty.go
- CfnReceiptRule_S3ActionProperty.go
- CfnReceiptRule_SNSActionProperty.go
- CfnReceiptRule_StopActionProperty.go
- CfnReceiptRule_WorkmailActionProperty.go
- CfnReceiptRule__checks.go
- CfnTemplate.go
- CfnTemplateProps.go
- CfnTemplate_TemplateProperty.go
- CfnTemplate__checks.go
- CfnVdmAttributes.go
- CfnVdmAttributesProps.go
- CfnVdmAttributes_DashboardAttributesProperty.go
- CfnVdmAttributes_GuardianAttributesProperty.go
- CfnVdmAttributes__checks.go
- CloudWatchDimension.go
- CloudWatchDimensionSource.go
- ConfigurationSet.go
- ConfigurationSetEventDestination.go
- ConfigurationSetEventDestinationOptions.go
- ConfigurationSetEventDestinationProps.go
- ConfigurationSetEventDestination__checks.go
- ConfigurationSetProps.go
- ConfigurationSetTlsPolicy.go
- ConfigurationSet__checks.go
- DedicatedIpPool.go
- DedicatedIpPoolProps.go
- DedicatedIpPool__checks.go
- DkimIdentity.go
- DkimIdentityConfig.go
- DkimIdentity__checks.go
- DkimRecord.go
- DropSpamReceiptRule.go
- DropSpamReceiptRuleProps.go
- DropSpamReceiptRule__checks.go
- EasyDkimSigningKeyLength.go
- EmailIdentity.go
- EmailIdentityProps.go
- EmailIdentity__checks.go
- EmailSendingEvent.go
- EventDestination.go
- EventDestination__checks.go
- IConfigurationSet.go
- IConfigurationSetEventDestination.go
- IDedicatedIpPool.go
- IEmailIdentity.go
- IEmailIdentity__checks.go
- IReceiptRule.go
- IReceiptRuleAction.go
- IReceiptRuleAction__checks.go
- IReceiptRuleSet.go
- IReceiptRuleSet__checks.go
- IVdmAttributes.go
- Identity.go
- Identity__checks.go
- LambdaActionConfig.go
- MailFromBehaviorOnMxFailure.go
- ReceiptFilter.go
- ReceiptFilterPolicy.go
- ReceiptFilterProps.go
- ReceiptFilter__checks.go
- ReceiptRule.go
- ReceiptRuleActionConfig.go
- ReceiptRuleOptions.go
- ReceiptRuleProps.go
- ReceiptRuleSet.go
- ReceiptRuleSetProps.go
- ReceiptRuleSet__checks.go
- ReceiptRule__checks.go
- S3ActionConfig.go
- SNSActionConfig.go
- ScalingMode.go
- StopActionConfig.go
- SuppressionReasons.go
- TlsPolicy.go
- VdmAttributes.go
- VdmAttributesProps.go
- VdmAttributes__checks.go
- VdmOptions.go
- WorkmailActionConfig.go
- main.go