permalink |
---|
/ssmincidents_response_plan/ |
ssmincidents_response_plan
represents the aws_ssmincidents_response_plan
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withAction()
fn withActionMixin()
fn withChatChannel()
fn withDisplayName()
fn withEngagements()
fn withIncidentTemplate()
fn withIncidentTemplateMixin()
fn withIntegration()
fn withIntegrationMixin()
fn withName()
fn withTags()
fn withTagsAll()
obj action
obj incident_template
obj integration
new()
aws.ssmincidents_response_plan.new
injects a new aws_ssmincidents_response_plan
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.ssmincidents_response_plan.new('some_id')
You can get the reference to the id
field of the created aws.ssmincidents_response_plan
using the reference:
$._ref.aws_ssmincidents_response_plan.some_id.get('id')
This is the same as directly entering "${ aws_ssmincidents_response_plan.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.chat_channel
(list
): Set thechat_channel
field on the resulting resource block. Whennull
, thechat_channel
field will be omitted from the resulting object.display_name
(string
): Set thedisplay_name
field on the resulting resource block. Whennull
, thedisplay_name
field will be omitted from the resulting object.engagements
(list
): Set theengagements
field on the resulting resource block. Whennull
, theengagements
field will be omitted from the resulting object.name
(string
): Set thename
field on the resulting resource block.tags
(obj
): Set thetags
field on the resulting resource block. Whennull
, thetags
field will be omitted from the resulting object.tags_all
(obj
): Set thetags_all
field on the resulting resource block. Whennull
, thetags_all
field will be omitted from the resulting object.action
(list[obj]
): Set theaction
field on the resulting resource block. Whennull
, theaction
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ssmincidents_response_plan.action.new constructor.incident_template
(list[obj]
): Set theincident_template
field on the resulting resource block. Whennull
, theincident_template
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ssmincidents_response_plan.incident_template.new constructor.integration
(list[obj]
): Set theintegration
field on the resulting resource block. Whennull
, theintegration
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ssmincidents_response_plan.integration.new constructor.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
aws.ssmincidents_response_plan.newAttrs
constructs a new object with attributes and blocks configured for the ssmincidents_response_plan
Terraform resource.
Unlike aws.ssmincidents_response_plan.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:
chat_channel
(list
): Set thechat_channel
field on the resulting object. Whennull
, thechat_channel
field will be omitted from the resulting object.display_name
(string
): Set thedisplay_name
field on the resulting object. Whennull
, thedisplay_name
field will be omitted from the resulting object.engagements
(list
): Set theengagements
field on the resulting object. Whennull
, theengagements
field will be omitted from the resulting object.name
(string
): Set thename
field on the resulting object.tags
(obj
): Set thetags
field on the resulting object. Whennull
, thetags
field will be omitted from the resulting object.tags_all
(obj
): Set thetags_all
field on the resulting object. Whennull
, thetags_all
field will be omitted from the resulting object.action
(list[obj]
): Set theaction
field on the resulting object. Whennull
, theaction
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ssmincidents_response_plan.action.new constructor.incident_template
(list[obj]
): Set theincident_template
field on the resulting object. Whennull
, theincident_template
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ssmincidents_response_plan.incident_template.new constructor.integration
(list[obj]
): Set theintegration
field on the resulting object. Whennull
, theintegration
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ssmincidents_response_plan.integration.new constructor.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
ssmincidents_response_plan
resource into the root Terraform configuration.
withAction()
aws.list[obj].withAction
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the action 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].withActionMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theaction
field.
withActionMixin()
aws.list[obj].withActionMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the action 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].withAction
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theaction
field.
withChatChannel()
aws.list.withChatChannel
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the chat_channel field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thechat_channel
field.
withDisplayName()
aws.string.withDisplayName
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the display_name field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thedisplay_name
field.
withEngagements()
aws.list.withEngagements
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the engagements field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for theengagements
field.
withIncidentTemplate()
aws.list[obj].withIncidentTemplate
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the incident_template 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].withIncidentTemplateMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theincident_template
field.
withIncidentTemplateMixin()
aws.list[obj].withIncidentTemplateMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the incident_template 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].withIncidentTemplate
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theincident_template
field.
withIntegration()
aws.list[obj].withIntegration
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the integration 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].withIntegrationMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theintegration
field.
withIntegrationMixin()
aws.list[obj].withIntegrationMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the integration 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].withIntegration
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theintegration
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.
withTags()
aws.obj.withTags
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the tags field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thetags
field.
withTagsAll()
aws.obj.withTagsAll
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the tags_all field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thetags_all
field.
new()
aws.ssmincidents_response_plan.action.new
constructs a new object with attributes and blocks configured for the action
Terraform sub block.
Args:
ssm_automation
(list[obj]
): Set thessm_automation
field on the resulting object. Whennull
, thessm_automation
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ssmincidents_response_plan.action.ssm_automation.new constructor.
Returns:
- An attribute object that represents the
action
sub block.
new()
aws.ssmincidents_response_plan.action.ssm_automation.new
constructs a new object with attributes and blocks configured for the ssm_automation
Terraform sub block.
Args:
document_name
(string
): Set thedocument_name
field on the resulting object.document_version
(string
): Set thedocument_version
field on the resulting object. Whennull
, thedocument_version
field will be omitted from the resulting object.dynamic_parameters
(obj
): Set thedynamic_parameters
field on the resulting object. Whennull
, thedynamic_parameters
field will be omitted from the resulting object.role_arn
(string
): Set therole_arn
field on the resulting object.target_account
(string
): Set thetarget_account
field on the resulting object. Whennull
, thetarget_account
field will be omitted from the resulting object.parameter
(list[obj]
): Set theparameter
field on the resulting object. Whennull
, theparameter
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ssmincidents_response_plan.action.ssm_automation.parameter.new constructor.
Returns:
- An attribute object that represents the
ssm_automation
sub block.
new()
aws.ssmincidents_response_plan.action.ssm_automation.parameter.new
constructs a new object with attributes and blocks configured for the parameter
Terraform sub block.
Args:
name
(string
): Set thename
field on the resulting object.values
(list
): Set thevalues
field on the resulting object.
Returns:
- An attribute object that represents the
parameter
sub block.
new()
aws.ssmincidents_response_plan.incident_template.new
constructs a new object with attributes and blocks configured for the incident_template
Terraform sub block.
Args:
dedupe_string
(string
): Set thededupe_string
field on the resulting object. Whennull
, thededupe_string
field will be omitted from the resulting object.impact
(number
): Set theimpact
field on the resulting object.incident_tags
(obj
): Set theincident_tags
field on the resulting object. Whennull
, theincident_tags
field will be omitted from the resulting object.summary
(string
): Set thesummary
field on the resulting object. Whennull
, thesummary
field will be omitted from the resulting object.title
(string
): Set thetitle
field on the resulting object.notification_target
(list[obj]
): Set thenotification_target
field on the resulting object. Whennull
, thenotification_target
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ssmincidents_response_plan.incident_template.notification_target.new constructor.
Returns:
- An attribute object that represents the
incident_template
sub block.
new()
aws.ssmincidents_response_plan.incident_template.notification_target.new
constructs a new object with attributes and blocks configured for the notification_target
Terraform sub block.
Args:
sns_topic_arn
(string
): Set thesns_topic_arn
field on the resulting object.
Returns:
- An attribute object that represents the
notification_target
sub block.
new()
aws.ssmincidents_response_plan.integration.new
constructs a new object with attributes and blocks configured for the integration
Terraform sub block.
Args:
pagerduty
(list[obj]
): Set thepagerduty
field on the resulting object. Whennull
, thepagerduty
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.ssmincidents_response_plan.integration.pagerduty.new constructor.
Returns:
- An attribute object that represents the
integration
sub block.
new()
aws.ssmincidents_response_plan.integration.pagerduty.new
constructs a new object with attributes and blocks configured for the pagerduty
Terraform sub block.
Args:
name
(string
): Set thename
field on the resulting object.secret_id
(string
): Set thesecret_id
field on the resulting object.service_id
(string
): Set theservice_id
field on the resulting object.
Returns:
- An attribute object that represents the
pagerduty
sub block.