aws_worklink_fleet

package
v5.45.0 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 Args

type Args struct {
	// AuditStreamArn: string, optional
	AuditStreamArn terra.StringValue `hcl:"audit_stream_arn,attr"`
	// DeviceCaCertificate: string, optional
	DeviceCaCertificate terra.StringValue `hcl:"device_ca_certificate,attr"`
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// OptimizeForEndUserLocation: bool, optional
	OptimizeForEndUserLocation terra.BoolValue `hcl:"optimize_for_end_user_location,attr"`
	// IdentityProvider: optional
	IdentityProvider *IdentityProvider `hcl:"identity_provider,block"`
	// Network: optional
	Network *Network `hcl:"network,block"`
}

Args contains the configurations for aws_worklink_fleet.

type IdentityProvider

type IdentityProvider struct {
	// SamlMetadata: string, required
	SamlMetadata terra.StringValue `hcl:"saml_metadata,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type IdentityProviderAttributes

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

func (IdentityProviderAttributes) InternalRef

func (ip IdentityProviderAttributes) InternalRef() (terra.Reference, error)

func (IdentityProviderAttributes) InternalTokens

func (ip IdentityProviderAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IdentityProviderAttributes) InternalWithRef

func (IdentityProviderAttributes) SamlMetadata

func (ip IdentityProviderAttributes) SamlMetadata() terra.StringValue

func (IdentityProviderAttributes) Type

type IdentityProviderState

type IdentityProviderState struct {
	SamlMetadata string `json:"saml_metadata"`
	Type         string `json:"type"`
}

type Network

type Network struct {
	// SecurityGroupIds: set of string, required
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr" validate:"required"`
	// SubnetIds: set of string, required
	SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr" validate:"required"`
	// VpcId: string, required
	VpcId terra.StringValue `hcl:"vpc_id,attr" validate:"required"`
}

type NetworkAttributes

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

func (NetworkAttributes) InternalRef

func (n NetworkAttributes) InternalRef() (terra.Reference, error)

func (NetworkAttributes) InternalTokens

func (n NetworkAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkAttributes) InternalWithRef

func (n NetworkAttributes) InternalWithRef(ref terra.Reference) NetworkAttributes

func (NetworkAttributes) SecurityGroupIds

func (n NetworkAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]

func (NetworkAttributes) SubnetIds

func (NetworkAttributes) VpcId

type NetworkState

type NetworkState struct {
	SecurityGroupIds []string `json:"security_group_ids"`
	SubnetIds        []string `json:"subnet_ids"`
	VpcId            string   `json:"vpc_id"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (awf *Resource) Attributes() awsWorklinkFleetAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (awf *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (awf *Resource) State() (*awsWorklinkFleetState, bool)

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

func (*Resource) StateMust

func (awf *Resource) StateMust() *awsWorklinkFleetState

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

func (*Resource) Type

func (awf *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

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