permalink |
---|
/ses_event_destination/ |
ses_event_destination
represents the aws_ses_event_destination
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withCloudwatchDestination()
fn withCloudwatchDestinationMixin()
fn withConfigurationSetName()
fn withEnabled()
fn withKinesisDestination()
fn withKinesisDestinationMixin()
fn withMatchingTypes()
fn withName()
fn withSnsDestination()
fn withSnsDestinationMixin()
obj cloudwatch_destination
obj kinesis_destination
obj sns_destination
new()
aws.ses_event_destination.new
injects a new aws_ses_event_destination
Terraform resource
block into the root module document.
Additionally, this inserts a private function into the _ref
attribute that generates references to attributes of the
resource. For example, if you added a new instance to the root using:
# arguments omitted for brevity
aws.ses_event_destination.new('some_id')
You can get the reference to the id
field of the created aws.ses_event_destination
using the reference:
$._ref.aws_ses_event_destination.some_id.get('id')
This is the same as directly entering "${ aws_ses_event_destination.some_id.id }"
as the value.
NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use super
, self
,
or $
to refer to the root object. Instead, make an explicit outer object using local
.
Args:
resourceLabel
(string
): The name label of the block.configuration_set_name
(string
): Set theconfiguration_set_name
field on the resulting resource block.enabled
(bool
): Set theenabled
field on the resulting resource block. Whennull
, theenabled
field will be omitted from the resulting object.matching_types
(list
): Set thematching_types
field on the resulting resource block.name
(string
): Set thename
field on the resulting resource block.cloudwatch_destination
(list[obj]
): Set thecloudwatch_destination
field on the resulting resource block. Whennull
, thecloudwatch_destination
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ses_event_destination.cloudwatch_destination.new constructor.kinesis_destination
(list[obj]
): Set thekinesis_destination
field on the resulting resource block. Whennull
, thekinesis_destination
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ses_event_destination.kinesis_destination.new constructor.sns_destination
(list[obj]
): Set thesns_destination
field on the resulting resource block. Whennull
, thesns_destination
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ses_event_destination.sns_destination.new constructor.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
aws.ses_event_destination.newAttrs
constructs a new object with attributes and blocks configured for the ses_event_destination
Terraform resource.
Unlike aws.ses_event_destination.new, this function will not inject the resource
block into the root Terraform document. Instead, this must be passed in as the attrs
argument for the
tf.withResource function to build a complete block.
This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to injecting into a complete block.
Args:
configuration_set_name
(string
): Set theconfiguration_set_name
field on the resulting object.enabled
(bool
): Set theenabled
field on the resulting object. Whennull
, theenabled
field will be omitted from the resulting object.matching_types
(list
): Set thematching_types
field on the resulting object.name
(string
): Set thename
field on the resulting object.cloudwatch_destination
(list[obj]
): Set thecloudwatch_destination
field on the resulting object. Whennull
, thecloudwatch_destination
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ses_event_destination.cloudwatch_destination.new constructor.kinesis_destination
(list[obj]
): Set thekinesis_destination
field on the resulting object. Whennull
, thekinesis_destination
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ses_event_destination.kinesis_destination.new constructor.sns_destination
(list[obj]
): Set thesns_destination
field on the resulting object. Whennull
, thesns_destination
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ses_event_destination.sns_destination.new constructor.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
ses_event_destination
resource into the root Terraform configuration.
withCloudwatchDestination()
aws.list[obj].withCloudwatchDestination
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the cloudwatch_destination field.
This function will replace the array with the passed in value
. If you wish to instead append the
passed in value to the existing array, use the aws.list[obj].withCloudwatchDestinationMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecloudwatch_destination
field.
withCloudwatchDestinationMixin()
aws.list[obj].withCloudwatchDestinationMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the cloudwatch_destination field.
This function will append the passed in array or object to the existing array. If you wish
to instead replace the array with the passed in value
, use the aws.list[obj].withCloudwatchDestination
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecloudwatch_destination
field.
withConfigurationSetName()
aws.string.withConfigurationSetName
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the configuration_set_name field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theconfiguration_set_name
field.
withEnabled()
aws.bool.withEnabled
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the enabled field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theenabled
field.
withKinesisDestination()
aws.list[obj].withKinesisDestination
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the kinesis_destination field.
This function will replace the array with the passed in value
. If you wish to instead append the
passed in value to the existing array, use the aws.list[obj].withKinesisDestinationMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thekinesis_destination
field.
withKinesisDestinationMixin()
aws.list[obj].withKinesisDestinationMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the kinesis_destination field.
This function will append the passed in array or object to the existing array. If you wish
to instead replace the array with the passed in value
, use the aws.list[obj].withKinesisDestination
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thekinesis_destination
field.
withMatchingTypes()
aws.list.withMatchingTypes
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the matching_types field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thematching_types
field.
withName()
aws.string.withName
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the name field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thename
field.
withSnsDestination()
aws.list[obj].withSnsDestination
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the sns_destination field.
This function will replace the array with the passed in value
. If you wish to instead append the
passed in value to the existing array, use the aws.list[obj].withSnsDestinationMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thesns_destination
field.
withSnsDestinationMixin()
aws.list[obj].withSnsDestinationMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the sns_destination field.
This function will append the passed in array or object to the existing array. If you wish
to instead replace the array with the passed in value
, use the aws.list[obj].withSnsDestination
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thesns_destination
field.
new()
aws.ses_event_destination.cloudwatch_destination.new
constructs a new object with attributes and blocks configured for the cloudwatch_destination
Terraform sub block.
Args:
default_value
(string
): Set thedefault_value
field on the resulting object.dimension_name
(string
): Set thedimension_name
field on the resulting object.value_source
(string
): Set thevalue_source
field on the resulting object.
Returns:
- An attribute object that represents the
cloudwatch_destination
sub block.
new()
aws.ses_event_destination.kinesis_destination.new
constructs a new object with attributes and blocks configured for the kinesis_destination
Terraform sub block.
Args:
role_arn
(string
): Set therole_arn
field on the resulting object.stream_arn
(string
): Set thestream_arn
field on the resulting object.
Returns:
- An attribute object that represents the
kinesis_destination
sub block.
new()
aws.ses_event_destination.sns_destination.new
constructs a new object with attributes and blocks configured for the sns_destination
Terraform sub block.
Args:
topic_arn
(string
): Set thetopic_arn
field on the resulting object.
Returns:
- An attribute object that represents the
sns_destination
sub block.