aws_appstream_stack

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 AccessEndpoints

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

type AccessEndpointsAttributes

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

func (AccessEndpointsAttributes) EndpointType

func (ae AccessEndpointsAttributes) EndpointType() terra.StringValue

func (AccessEndpointsAttributes) InternalRef

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

func (AccessEndpointsAttributes) InternalTokens

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

func (AccessEndpointsAttributes) InternalWithRef

func (AccessEndpointsAttributes) VpceId

type AccessEndpointsState

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

type ApplicationSettings

type ApplicationSettings struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// SettingsGroup: string, optional
	SettingsGroup terra.StringValue `hcl:"settings_group,attr"`
}

type ApplicationSettingsAttributes

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

func (ApplicationSettingsAttributes) Enabled

func (ApplicationSettingsAttributes) InternalRef

func (as ApplicationSettingsAttributes) InternalRef() (terra.Reference, error)

func (ApplicationSettingsAttributes) InternalTokens

func (as ApplicationSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ApplicationSettingsAttributes) InternalWithRef

func (ApplicationSettingsAttributes) SettingsGroup

func (as ApplicationSettingsAttributes) SettingsGroup() terra.StringValue

type ApplicationSettingsState

type ApplicationSettingsState struct {
	Enabled       bool   `json:"enabled"`
	SettingsGroup string `json:"settings_group"`
}

type Args

type Args struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// EmbedHostDomains: set of string, optional
	EmbedHostDomains terra.SetValue[terra.StringValue] `hcl:"embed_host_domains,attr"`
	// FeedbackUrl: string, optional
	FeedbackUrl terra.StringValue `hcl:"feedback_url,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// RedirectUrl: string, optional
	RedirectUrl terra.StringValue `hcl:"redirect_url,attr"`
	// 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"`
	// AccessEndpoints: min=0,max=4
	AccessEndpoints []AccessEndpoints `hcl:"access_endpoints,block" validate:"min=0,max=4"`
	// ApplicationSettings: optional
	ApplicationSettings *ApplicationSettings `hcl:"application_settings,block"`
	// StorageConnectors: min=0
	StorageConnectors []StorageConnectors `hcl:"storage_connectors,block" validate:"min=0"`
	// StreamingExperienceSettings: optional
	StreamingExperienceSettings *StreamingExperienceSettings `hcl:"streaming_experience_settings,block"`
	// UserSettings: min=0
	UserSettings []UserSettings `hcl:"user_settings,block" validate:"min=0"`
}

Args contains the configurations for aws_appstream_stack.

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_stack.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aas *Resource) Attributes() awsAppstreamStackAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aas *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aas *Resource) State() (*awsAppstreamStackState, bool)

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

func (*Resource) StateMust

func (aas *Resource) StateMust() *awsAppstreamStackState

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

func (*Resource) Type

func (aas *Resource) Type() string

Type returns the Terraform object type for Resource.

type StorageConnectors

type StorageConnectors struct {
	// ConnectorType: string, required
	ConnectorType terra.StringValue `hcl:"connector_type,attr" validate:"required"`
	// Domains: list of string, optional
	Domains terra.ListValue[terra.StringValue] `hcl:"domains,attr"`
	// ResourceIdentifier: string, optional
	ResourceIdentifier terra.StringValue `hcl:"resource_identifier,attr"`
}

type StorageConnectorsAttributes

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

func (StorageConnectorsAttributes) ConnectorType

func (sc StorageConnectorsAttributes) ConnectorType() terra.StringValue

func (StorageConnectorsAttributes) Domains

func (StorageConnectorsAttributes) InternalRef

func (sc StorageConnectorsAttributes) InternalRef() (terra.Reference, error)

func (StorageConnectorsAttributes) InternalTokens

func (sc StorageConnectorsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageConnectorsAttributes) InternalWithRef

func (StorageConnectorsAttributes) ResourceIdentifier

func (sc StorageConnectorsAttributes) ResourceIdentifier() terra.StringValue

type StorageConnectorsState

type StorageConnectorsState struct {
	ConnectorType      string   `json:"connector_type"`
	Domains            []string `json:"domains"`
	ResourceIdentifier string   `json:"resource_identifier"`
}

type StreamingExperienceSettings

type StreamingExperienceSettings struct {
	// PreferredProtocol: string, optional
	PreferredProtocol terra.StringValue `hcl:"preferred_protocol,attr"`
}

type StreamingExperienceSettingsAttributes

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

func (StreamingExperienceSettingsAttributes) InternalRef

func (StreamingExperienceSettingsAttributes) InternalTokens

func (StreamingExperienceSettingsAttributes) InternalWithRef

func (StreamingExperienceSettingsAttributes) PreferredProtocol

type StreamingExperienceSettingsState

type StreamingExperienceSettingsState struct {
	PreferredProtocol string `json:"preferred_protocol"`
}

type UserSettings

type UserSettings struct {
	// Action: string, required
	Action terra.StringValue `hcl:"action,attr" validate:"required"`
	// Permission: string, required
	Permission terra.StringValue `hcl:"permission,attr" validate:"required"`
}

type UserSettingsAttributes

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

func (UserSettingsAttributes) Action

func (UserSettingsAttributes) InternalRef

func (us UserSettingsAttributes) InternalRef() (terra.Reference, error)

func (UserSettingsAttributes) InternalTokens

func (us UserSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (UserSettingsAttributes) InternalWithRef

func (UserSettingsAttributes) Permission

func (us UserSettingsAttributes) Permission() terra.StringValue

type UserSettingsState

type UserSettingsState struct {
	Action     string `json:"action"`
	Permission string `json:"permission"`
}

Jump to

Keyboard shortcuts

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