aws_appstream_image_builder

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessEndpoint

type AccessEndpoint struct {
	// EndpointType: string, required
	EndpointType terra.StringValue `hcl:"endpoint_type,attr" validate:"required"`
	// VpceId: string, optional
	VpceId terra.StringValue `hcl:"vpce_id,attr"`
}

type AccessEndpointAttributes

type AccessEndpointAttributes struct {
	// contains filtered or unexported fields
}

func (AccessEndpointAttributes) EndpointType

func (ae AccessEndpointAttributes) EndpointType() terra.StringValue

func (AccessEndpointAttributes) InternalRef

func (ae AccessEndpointAttributes) InternalRef() (terra.Reference, error)

func (AccessEndpointAttributes) InternalTokens

func (ae AccessEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessEndpointAttributes) InternalWithRef

func (AccessEndpointAttributes) VpceId

type AccessEndpointState

type AccessEndpointState struct {
	EndpointType string `json:"endpoint_type"`
	VpceId       string `json:"vpce_id"`
}

type Args

type Args struct {
	// AppstreamAgentVersion: string, optional
	AppstreamAgentVersion terra.StringValue `hcl:"appstream_agent_version,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// EnableDefaultInternetAccess: bool, optional
	EnableDefaultInternetAccess terra.BoolValue `hcl:"enable_default_internet_access,attr"`
	// IamRoleArn: string, optional
	IamRoleArn terra.StringValue `hcl:"iam_role_arn,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// ImageArn: string, optional
	ImageArn terra.StringValue `hcl:"image_arn,attr"`
	// ImageName: string, optional
	ImageName terra.StringValue `hcl:"image_name,attr"`
	// InstanceType: string, required
	InstanceType terra.StringValue `hcl:"instance_type,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// AccessEndpoint: min=0,max=4
	AccessEndpoint []AccessEndpoint `hcl:"access_endpoint,block" validate:"min=0,max=4"`
	// DomainJoinInfo: optional
	DomainJoinInfo *DomainJoinInfo `hcl:"domain_join_info,block"`
	// VpcConfig: optional
	VpcConfig *VpcConfig `hcl:"vpc_config,block"`
}

Args contains the configurations for aws_appstream_image_builder.

type DomainJoinInfo

type DomainJoinInfo struct {
	// DirectoryName: string, optional
	DirectoryName terra.StringValue `hcl:"directory_name,attr"`
	// OrganizationalUnitDistinguishedName: string, optional
	OrganizationalUnitDistinguishedName terra.StringValue `hcl:"organizational_unit_distinguished_name,attr"`
}

type DomainJoinInfoAttributes

type DomainJoinInfoAttributes struct {
	// contains filtered or unexported fields
}

func (DomainJoinInfoAttributes) DirectoryName

func (dji DomainJoinInfoAttributes) DirectoryName() terra.StringValue

func (DomainJoinInfoAttributes) InternalRef

func (dji DomainJoinInfoAttributes) InternalRef() (terra.Reference, error)

func (DomainJoinInfoAttributes) InternalTokens

func (dji DomainJoinInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DomainJoinInfoAttributes) InternalWithRef

func (DomainJoinInfoAttributes) OrganizationalUnitDistinguishedName

func (dji DomainJoinInfoAttributes) OrganizationalUnitDistinguishedName() terra.StringValue

type DomainJoinInfoState

type DomainJoinInfoState struct {
	DirectoryName                       string `json:"directory_name"`
	OrganizationalUnitDistinguishedName string `json:"organizational_unit_distinguished_name"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_appstream_image_builder.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aaib *Resource) Attributes() awsAppstreamImageBuilderAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (aaib *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (aaib *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (aaib *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (aaib *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (aaib *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aaib *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aaib *Resource) State() (*awsAppstreamImageBuilderState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (aaib *Resource) StateMust() *awsAppstreamImageBuilderState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (aaib *Resource) Type() string

Type returns the Terraform object type for Resource.

type VpcConfig

type VpcConfig struct {
	// SecurityGroupIds: set of string, optional
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"`
	// SubnetIds: set of string, optional
	SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr"`
}

type VpcConfigAttributes

type VpcConfigAttributes struct {
	// contains filtered or unexported fields
}

func (VpcConfigAttributes) InternalRef

func (vc VpcConfigAttributes) InternalRef() (terra.Reference, error)

func (VpcConfigAttributes) InternalTokens

func (vc VpcConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VpcConfigAttributes) InternalWithRef

func (vc VpcConfigAttributes) InternalWithRef(ref terra.Reference) VpcConfigAttributes

func (VpcConfigAttributes) SecurityGroupIds

func (vc VpcConfigAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]

func (VpcConfigAttributes) SubnetIds

type VpcConfigState

type VpcConfigState struct {
	SecurityGroupIds []string `json:"security_group_ids"`
	SubnetIds        []string `json:"subnet_ids"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL