permalink |
---|
/appstream_fleet/ |
appstream_fleet
represents the aws_appstream_fleet
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withComputeCapacity()
fn withComputeCapacityMixin()
fn withDescription()
fn withDisconnectTimeoutInSeconds()
fn withDisplayName()
fn withDomainJoinInfo()
fn withDomainJoinInfoMixin()
fn withEnableDefaultInternetAccess()
fn withFleetType()
fn withIamRoleArn()
fn withIdleDisconnectTimeoutInSeconds()
fn withImageArn()
fn withImageName()
fn withInstanceType()
fn withMaxUserDurationInSeconds()
fn withName()
fn withStreamView()
fn withTags()
fn withTagsAll()
fn withVpcConfig()
fn withVpcConfigMixin()
obj compute_capacity
obj domain_join_info
obj vpc_config
new()
aws.appstream_fleet.new
injects a new aws_appstream_fleet
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.appstream_fleet.new('some_id')
You can get the reference to the id
field of the created aws.appstream_fleet
using the reference:
$._ref.aws_appstream_fleet.some_id.get('id')
This is the same as directly entering "${ aws_appstream_fleet.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.description
(string
): Set thedescription
field on the resulting resource block. Whennull
, thedescription
field will be omitted from the resulting object.disconnect_timeout_in_seconds
(number
): Set thedisconnect_timeout_in_seconds
field on the resulting resource block. Whennull
, thedisconnect_timeout_in_seconds
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.enable_default_internet_access
(bool
): Set theenable_default_internet_access
field on the resulting resource block. Whennull
, theenable_default_internet_access
field will be omitted from the resulting object.fleet_type
(string
): Set thefleet_type
field on the resulting resource block. Whennull
, thefleet_type
field will be omitted from the resulting object.iam_role_arn
(string
): Set theiam_role_arn
field on the resulting resource block. Whennull
, theiam_role_arn
field will be omitted from the resulting object.idle_disconnect_timeout_in_seconds
(number
): Set theidle_disconnect_timeout_in_seconds
field on the resulting resource block. Whennull
, theidle_disconnect_timeout_in_seconds
field will be omitted from the resulting object.image_arn
(string
): Set theimage_arn
field on the resulting resource block. Whennull
, theimage_arn
field will be omitted from the resulting object.image_name
(string
): Set theimage_name
field on the resulting resource block. Whennull
, theimage_name
field will be omitted from the resulting object.instance_type
(string
): Set theinstance_type
field on the resulting resource block.max_user_duration_in_seconds
(number
): Set themax_user_duration_in_seconds
field on the resulting resource block. Whennull
, themax_user_duration_in_seconds
field will be omitted from the resulting object.name
(string
): Set thename
field on the resulting resource block.stream_view
(string
): Set thestream_view
field on the resulting resource block. Whennull
, thestream_view
field will be omitted from the resulting object.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.compute_capacity
(list[obj]
): Set thecompute_capacity
field on the resulting resource block. Whennull
, thecompute_capacity
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.appstream_fleet.compute_capacity.new constructor.domain_join_info
(list[obj]
): Set thedomain_join_info
field on the resulting resource block. Whennull
, thedomain_join_info
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.appstream_fleet.domain_join_info.new constructor.vpc_config
(list[obj]
): Set thevpc_config
field on the resulting resource block. Whennull
, thevpc_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.appstream_fleet.vpc_config.new constructor.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
aws.appstream_fleet.newAttrs
constructs a new object with attributes and blocks configured for the appstream_fleet
Terraform resource.
Unlike aws.appstream_fleet.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:
description
(string
): Set thedescription
field on the resulting object. Whennull
, thedescription
field will be omitted from the resulting object.disconnect_timeout_in_seconds
(number
): Set thedisconnect_timeout_in_seconds
field on the resulting object. Whennull
, thedisconnect_timeout_in_seconds
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.enable_default_internet_access
(bool
): Set theenable_default_internet_access
field on the resulting object. Whennull
, theenable_default_internet_access
field will be omitted from the resulting object.fleet_type
(string
): Set thefleet_type
field on the resulting object. Whennull
, thefleet_type
field will be omitted from the resulting object.iam_role_arn
(string
): Set theiam_role_arn
field on the resulting object. Whennull
, theiam_role_arn
field will be omitted from the resulting object.idle_disconnect_timeout_in_seconds
(number
): Set theidle_disconnect_timeout_in_seconds
field on the resulting object. Whennull
, theidle_disconnect_timeout_in_seconds
field will be omitted from the resulting object.image_arn
(string
): Set theimage_arn
field on the resulting object. Whennull
, theimage_arn
field will be omitted from the resulting object.image_name
(string
): Set theimage_name
field on the resulting object. Whennull
, theimage_name
field will be omitted from the resulting object.instance_type
(string
): Set theinstance_type
field on the resulting object.max_user_duration_in_seconds
(number
): Set themax_user_duration_in_seconds
field on the resulting object. Whennull
, themax_user_duration_in_seconds
field will be omitted from the resulting object.name
(string
): Set thename
field on the resulting object.stream_view
(string
): Set thestream_view
field on the resulting object. Whennull
, thestream_view
field will be omitted from 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.compute_capacity
(list[obj]
): Set thecompute_capacity
field on the resulting object. Whennull
, thecompute_capacity
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.appstream_fleet.compute_capacity.new constructor.domain_join_info
(list[obj]
): Set thedomain_join_info
field on the resulting object. Whennull
, thedomain_join_info
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.appstream_fleet.domain_join_info.new constructor.vpc_config
(list[obj]
): Set thevpc_config
field on the resulting object. Whennull
, thevpc_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.appstream_fleet.vpc_config.new constructor.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
appstream_fleet
resource into the root Terraform configuration.
withComputeCapacity()
aws.list[obj].withComputeCapacity
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the compute_capacity 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].withComputeCapacityMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecompute_capacity
field.
withComputeCapacityMixin()
aws.list[obj].withComputeCapacityMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the compute_capacity 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].withComputeCapacity
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecompute_capacity
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.
withDisconnectTimeoutInSeconds()
aws.number.withDisconnectTimeoutInSeconds
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the disconnect_timeout_in_seconds field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for thedisconnect_timeout_in_seconds
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.
withDomainJoinInfo()
aws.list[obj].withDomainJoinInfo
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the domain_join_info 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].withDomainJoinInfoMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thedomain_join_info
field.
withDomainJoinInfoMixin()
aws.list[obj].withDomainJoinInfoMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the domain_join_info 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].withDomainJoinInfo
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thedomain_join_info
field.
withEnableDefaultInternetAccess()
aws.bool.withEnableDefaultInternetAccess
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the enable_default_internet_access field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theenable_default_internet_access
field.
withFleetType()
aws.string.withFleetType
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the fleet_type field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thefleet_type
field.
withIamRoleArn()
aws.string.withIamRoleArn
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the iam_role_arn field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theiam_role_arn
field.
withIdleDisconnectTimeoutInSeconds()
aws.number.withIdleDisconnectTimeoutInSeconds
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the idle_disconnect_timeout_in_seconds field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for theidle_disconnect_timeout_in_seconds
field.
withImageArn()
aws.string.withImageArn
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the image_arn field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theimage_arn
field.
withImageName()
aws.string.withImageName
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the image_name field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theimage_name
field.
withInstanceType()
aws.string.withInstanceType
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the instance_type field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theinstance_type
field.
withMaxUserDurationInSeconds()
aws.number.withMaxUserDurationInSeconds
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the max_user_duration_in_seconds field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for themax_user_duration_in_seconds
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.
withStreamView()
aws.string.withStreamView
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the stream_view field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thestream_view
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.
withVpcConfig()
aws.list[obj].withVpcConfig
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the vpc_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].withVpcConfigMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thevpc_config
field.
withVpcConfigMixin()
aws.list[obj].withVpcConfigMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the vpc_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].withVpcConfig
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thevpc_config
field.
new()
aws.appstream_fleet.compute_capacity.new
constructs a new object with attributes and blocks configured for the compute_capacity
Terraform sub block.
Args:
desired_instances
(number
): Set thedesired_instances
field on the resulting object.
Returns:
- An attribute object that represents the
compute_capacity
sub block.
new()
aws.appstream_fleet.domain_join_info.new
constructs a new object with attributes and blocks configured for the domain_join_info
Terraform sub block.
Args:
directory_name
(string
): Set thedirectory_name
field on the resulting object. Whennull
, thedirectory_name
field will be omitted from the resulting object.organizational_unit_distinguished_name
(string
): Set theorganizational_unit_distinguished_name
field on the resulting object. Whennull
, theorganizational_unit_distinguished_name
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
domain_join_info
sub block.
new()
aws.appstream_fleet.vpc_config.new
constructs a new object with attributes and blocks configured for the vpc_config
Terraform sub block.
Args:
security_group_ids
(list
): Set thesecurity_group_ids
field on the resulting object. Whennull
, thesecurity_group_ids
field will be omitted from the resulting object.subnet_ids
(list
): Set thesubnet_ids
field on the resulting object. Whennull
, thesubnet_ids
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
vpc_config
sub block.