permalink |
---|
/apigatewayv2_integration/ |
apigatewayv2_integration
represents the aws_apigatewayv2_integration
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withApiId()
fn withConnectionId()
fn withConnectionType()
fn withContentHandlingStrategy()
fn withCredentialsArn()
fn withDescription()
fn withIntegrationMethod()
fn withIntegrationSubtype()
fn withIntegrationType()
fn withIntegrationUri()
fn withPassthroughBehavior()
fn withPayloadFormatVersion()
fn withRequestParameters()
fn withRequestTemplates()
fn withResponseParameters()
fn withResponseParametersMixin()
fn withTemplateSelectionExpression()
fn withTimeoutMilliseconds()
fn withTlsConfig()
fn withTlsConfigMixin()
obj response_parameters
obj tls_config
new()
aws.apigatewayv2_integration.new
injects a new aws_apigatewayv2_integration
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.apigatewayv2_integration.new('some_id')
You can get the reference to the id
field of the created aws.apigatewayv2_integration
using the reference:
$._ref.aws_apigatewayv2_integration.some_id.get('id')
This is the same as directly entering "${ aws_apigatewayv2_integration.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.api_id
(string
): Set theapi_id
field on the resulting resource block.connection_id
(string
): Set theconnection_id
field on the resulting resource block. Whennull
, theconnection_id
field will be omitted from the resulting object.connection_type
(string
): Set theconnection_type
field on the resulting resource block. Whennull
, theconnection_type
field will be omitted from the resulting object.content_handling_strategy
(string
): Set thecontent_handling_strategy
field on the resulting resource block. Whennull
, thecontent_handling_strategy
field will be omitted from the resulting object.credentials_arn
(string
): Set thecredentials_arn
field on the resulting resource block. Whennull
, thecredentials_arn
field will be omitted from the resulting object.description
(string
): Set thedescription
field on the resulting resource block. Whennull
, thedescription
field will be omitted from the resulting object.integration_method
(string
): Set theintegration_method
field on the resulting resource block. Whennull
, theintegration_method
field will be omitted from the resulting object.integration_subtype
(string
): Set theintegration_subtype
field on the resulting resource block. Whennull
, theintegration_subtype
field will be omitted from the resulting object.integration_type
(string
): Set theintegration_type
field on the resulting resource block.integration_uri
(string
): Set theintegration_uri
field on the resulting resource block. Whennull
, theintegration_uri
field will be omitted from the resulting object.passthrough_behavior
(string
): Set thepassthrough_behavior
field on the resulting resource block. Whennull
, thepassthrough_behavior
field will be omitted from the resulting object.payload_format_version
(string
): Set thepayload_format_version
field on the resulting resource block. Whennull
, thepayload_format_version
field will be omitted from the resulting object.request_parameters
(obj
): Set therequest_parameters
field on the resulting resource block. Whennull
, therequest_parameters
field will be omitted from the resulting object.request_templates
(obj
): Set therequest_templates
field on the resulting resource block. Whennull
, therequest_templates
field will be omitted from the resulting object.template_selection_expression
(string
): Set thetemplate_selection_expression
field on the resulting resource block. Whennull
, thetemplate_selection_expression
field will be omitted from the resulting object.timeout_milliseconds
(number
): Set thetimeout_milliseconds
field on the resulting resource block. Whennull
, thetimeout_milliseconds
field will be omitted from the resulting object.response_parameters
(list[obj]
): Set theresponse_parameters
field on the resulting resource block. Whennull
, theresponse_parameters
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.apigatewayv2_integration.response_parameters.new constructor.tls_config
(list[obj]
): Set thetls_config
field on the resulting resource block. Whennull
, thetls_config
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.apigatewayv2_integration.tls_config.new constructor.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
aws.apigatewayv2_integration.newAttrs
constructs a new object with attributes and blocks configured for the apigatewayv2_integration
Terraform resource.
Unlike aws.apigatewayv2_integration.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:
api_id
(string
): Set theapi_id
field on the resulting object.connection_id
(string
): Set theconnection_id
field on the resulting object. Whennull
, theconnection_id
field will be omitted from the resulting object.connection_type
(string
): Set theconnection_type
field on the resulting object. Whennull
, theconnection_type
field will be omitted from the resulting object.content_handling_strategy
(string
): Set thecontent_handling_strategy
field on the resulting object. Whennull
, thecontent_handling_strategy
field will be omitted from the resulting object.credentials_arn
(string
): Set thecredentials_arn
field on the resulting object. Whennull
, thecredentials_arn
field will be omitted from the resulting object.description
(string
): Set thedescription
field on the resulting object. Whennull
, thedescription
field will be omitted from the resulting object.integration_method
(string
): Set theintegration_method
field on the resulting object. Whennull
, theintegration_method
field will be omitted from the resulting object.integration_subtype
(string
): Set theintegration_subtype
field on the resulting object. Whennull
, theintegration_subtype
field will be omitted from the resulting object.integration_type
(string
): Set theintegration_type
field on the resulting object.integration_uri
(string
): Set theintegration_uri
field on the resulting object. Whennull
, theintegration_uri
field will be omitted from the resulting object.passthrough_behavior
(string
): Set thepassthrough_behavior
field on the resulting object. Whennull
, thepassthrough_behavior
field will be omitted from the resulting object.payload_format_version
(string
): Set thepayload_format_version
field on the resulting object. Whennull
, thepayload_format_version
field will be omitted from the resulting object.request_parameters
(obj
): Set therequest_parameters
field on the resulting object. Whennull
, therequest_parameters
field will be omitted from the resulting object.request_templates
(obj
): Set therequest_templates
field on the resulting object. Whennull
, therequest_templates
field will be omitted from the resulting object.template_selection_expression
(string
): Set thetemplate_selection_expression
field on the resulting object. Whennull
, thetemplate_selection_expression
field will be omitted from the resulting object.timeout_milliseconds
(number
): Set thetimeout_milliseconds
field on the resulting object. Whennull
, thetimeout_milliseconds
field will be omitted from the resulting object.response_parameters
(list[obj]
): Set theresponse_parameters
field on the resulting object. Whennull
, theresponse_parameters
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.apigatewayv2_integration.response_parameters.new constructor.tls_config
(list[obj]
): Set thetls_config
field on the resulting object. Whennull
, thetls_config
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.apigatewayv2_integration.tls_config.new constructor.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
apigatewayv2_integration
resource into the root Terraform configuration.
withApiId()
aws.string.withApiId
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the api_id field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theapi_id
field.
withConnectionId()
aws.string.withConnectionId
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the connection_id field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theconnection_id
field.
withConnectionType()
aws.string.withConnectionType
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the connection_type field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theconnection_type
field.
withContentHandlingStrategy()
aws.string.withContentHandlingStrategy
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the content_handling_strategy field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thecontent_handling_strategy
field.
withCredentialsArn()
aws.string.withCredentialsArn
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the credentials_arn field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thecredentials_arn
field.
withDescription()
aws.string.withDescription
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the description field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thedescription
field.
withIntegrationMethod()
aws.string.withIntegrationMethod
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the integration_method field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theintegration_method
field.
withIntegrationSubtype()
aws.string.withIntegrationSubtype
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the integration_subtype field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theintegration_subtype
field.
withIntegrationType()
aws.string.withIntegrationType
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the integration_type field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theintegration_type
field.
withIntegrationUri()
aws.string.withIntegrationUri
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the integration_uri field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theintegration_uri
field.
withPassthroughBehavior()
aws.string.withPassthroughBehavior
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the passthrough_behavior field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thepassthrough_behavior
field.
withPayloadFormatVersion()
aws.string.withPayloadFormatVersion
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the payload_format_version field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thepayload_format_version
field.
withRequestParameters()
aws.obj.withRequestParameters
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the request_parameters field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for therequest_parameters
field.
withRequestTemplates()
aws.obj.withRequestTemplates
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the request_templates field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for therequest_templates
field.
withResponseParameters()
aws.list[obj].withResponseParameters
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the response_parameters 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].withResponseParametersMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theresponse_parameters
field.
withResponseParametersMixin()
aws.list[obj].withResponseParametersMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the response_parameters 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].withResponseParameters
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theresponse_parameters
field.
withTemplateSelectionExpression()
aws.string.withTemplateSelectionExpression
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the template_selection_expression field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thetemplate_selection_expression
field.
withTimeoutMilliseconds()
aws.number.withTimeoutMilliseconds
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the timeout_milliseconds field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for thetimeout_milliseconds
field.
withTlsConfig()
aws.list[obj].withTlsConfig
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the tls_config 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].withTlsConfigMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thetls_config
field.
withTlsConfigMixin()
aws.list[obj].withTlsConfigMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the tls_config 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].withTlsConfig
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thetls_config
field.
new()
aws.apigatewayv2_integration.response_parameters.new
constructs a new object with attributes and blocks configured for the response_parameters
Terraform sub block.
Args:
mappings
(obj
): Set themappings
field on the resulting object.status_code
(string
): Set thestatus_code
field on the resulting object.
Returns:
- An attribute object that represents the
response_parameters
sub block.
new()
aws.apigatewayv2_integration.tls_config.new
constructs a new object with attributes and blocks configured for the tls_config
Terraform sub block.
Args:
server_name_to_verify
(string
): Set theserver_name_to_verify
field on the resulting object. Whennull
, theserver_name_to_verify
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
tls_config
sub block.