aws_directory_service_directory

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 Args

type Args struct {
	// Alias: string, optional
	Alias terra.StringValue `hcl:"alias,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DesiredNumberOfDomainControllers: number, optional
	DesiredNumberOfDomainControllers terra.NumberValue `hcl:"desired_number_of_domain_controllers,attr"`
	// Edition: string, optional
	Edition terra.StringValue `hcl:"edition,attr"`
	// EnableSso: bool, optional
	EnableSso terra.BoolValue `hcl:"enable_sso,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// ShortName: string, optional
	ShortName terra.StringValue `hcl:"short_name,attr"`
	// Size: string, optional
	Size terra.StringValue `hcl:"size,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"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// ConnectSettings: optional
	ConnectSettings *ConnectSettings `hcl:"connect_settings,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// VpcSettings: optional
	VpcSettings *VpcSettings `hcl:"vpc_settings,block"`
}

Args contains the configurations for aws_directory_service_directory.

type ConnectSettings

type ConnectSettings struct {
	// CustomerDnsIps: set of string, required
	CustomerDnsIps terra.SetValue[terra.StringValue] `hcl:"customer_dns_ips,attr" validate:"required"`
	// CustomerUsername: string, required
	CustomerUsername terra.StringValue `hcl:"customer_username,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 ConnectSettingsAttributes

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

func (ConnectSettingsAttributes) AvailabilityZones

func (cs ConnectSettingsAttributes) AvailabilityZones() terra.SetValue[terra.StringValue]

func (ConnectSettingsAttributes) ConnectIps

func (ConnectSettingsAttributes) CustomerDnsIps

func (ConnectSettingsAttributes) CustomerUsername

func (cs ConnectSettingsAttributes) CustomerUsername() terra.StringValue

func (ConnectSettingsAttributes) InternalRef

func (cs ConnectSettingsAttributes) InternalRef() (terra.Reference, error)

func (ConnectSettingsAttributes) InternalTokens

func (cs ConnectSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConnectSettingsAttributes) InternalWithRef

func (ConnectSettingsAttributes) SubnetIds

func (ConnectSettingsAttributes) VpcId

type ConnectSettingsState

type ConnectSettingsState struct {
	AvailabilityZones []string `json:"availability_zones"`
	ConnectIps        []string `json:"connect_ips"`
	CustomerDnsIps    []string `json:"customer_dns_ips"`
	CustomerUsername  string   `json:"customer_username"`
	SubnetIds         []string `json:"subnet_ids"`
	VpcId             string   `json:"vpc_id"`
}

type DataArgs

type DataArgs struct {
	// DirectoryId: string, required
	DirectoryId terra.StringValue `hcl:"directory_id,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

DataArgs contains the configurations for aws_directory_service_directory.

type DataConnectSettingsAttributes

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

func (DataConnectSettingsAttributes) AvailabilityZones

func (DataConnectSettingsAttributes) ConnectIps

func (DataConnectSettingsAttributes) CustomerDnsIps

func (DataConnectSettingsAttributes) CustomerUsername

func (cs DataConnectSettingsAttributes) CustomerUsername() terra.StringValue

func (DataConnectSettingsAttributes) InternalRef

func (cs DataConnectSettingsAttributes) InternalRef() (terra.Reference, error)

func (DataConnectSettingsAttributes) InternalTokens

func (cs DataConnectSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataConnectSettingsAttributes) InternalWithRef

func (DataConnectSettingsAttributes) SubnetIds

func (DataConnectSettingsAttributes) VpcId

type DataConnectSettingsState

type DataConnectSettingsState struct {
	AvailabilityZones []string `json:"availability_zones"`
	ConnectIps        []string `json:"connect_ips"`
	CustomerDnsIps    []string `json:"customer_dns_ips"`
	CustomerUsername  string   `json:"customer_username"`
	SubnetIds         []string `json:"subnet_ids"`
	VpcId             string   `json:"vpc_id"`
}

type DataRadiusSettingsAttributes

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

func (DataRadiusSettingsAttributes) AuthenticationProtocol

func (rs DataRadiusSettingsAttributes) AuthenticationProtocol() terra.StringValue

func (DataRadiusSettingsAttributes) DisplayLabel

func (DataRadiusSettingsAttributes) InternalRef

func (rs DataRadiusSettingsAttributes) InternalRef() (terra.Reference, error)

func (DataRadiusSettingsAttributes) InternalTokens

func (rs DataRadiusSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataRadiusSettingsAttributes) InternalWithRef

func (DataRadiusSettingsAttributes) RadiusPort

func (DataRadiusSettingsAttributes) RadiusRetries

func (rs DataRadiusSettingsAttributes) RadiusRetries() terra.NumberValue

func (DataRadiusSettingsAttributes) RadiusServers

func (DataRadiusSettingsAttributes) RadiusTimeout

func (rs DataRadiusSettingsAttributes) RadiusTimeout() terra.NumberValue

func (DataRadiusSettingsAttributes) UseSameUsername

func (rs DataRadiusSettingsAttributes) UseSameUsername() terra.BoolValue

type DataRadiusSettingsState

type DataRadiusSettingsState struct {
	AuthenticationProtocol string   `json:"authentication_protocol"`
	DisplayLabel           string   `json:"display_label"`
	RadiusPort             float64  `json:"radius_port"`
	RadiusRetries          float64  `json:"radius_retries"`
	RadiusServers          []string `json:"radius_servers"`
	RadiusTimeout          float64  `json:"radius_timeout"`
	UseSameUsername        bool     `json:"use_same_username"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_directory_service_directory.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (adsd *DataSource) Attributes() dataAwsDirectoryServiceDirectoryAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (adsd *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (adsd *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (adsd *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataVpcSettingsAttributes

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

func (DataVpcSettingsAttributes) AvailabilityZones

func (vs DataVpcSettingsAttributes) AvailabilityZones() terra.SetValue[terra.StringValue]

func (DataVpcSettingsAttributes) InternalRef

func (vs DataVpcSettingsAttributes) InternalRef() (terra.Reference, error)

func (DataVpcSettingsAttributes) InternalTokens

func (vs DataVpcSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataVpcSettingsAttributes) InternalWithRef

func (DataVpcSettingsAttributes) SubnetIds

func (DataVpcSettingsAttributes) VpcId

type DataVpcSettingsState

type DataVpcSettingsState struct {
	AvailabilityZones []string `json:"availability_zones"`
	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_directory_service_directory.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (adsd *Resource) Attributes() awsDirectoryServiceDirectoryAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (adsd *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (adsd *Resource) State() (*awsDirectoryServiceDirectoryState, bool)

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

func (*Resource) StateMust

func (adsd *Resource) StateMust() *awsDirectoryServiceDirectoryState

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

func (*Resource) Type

func (adsd *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type VpcSettings

type VpcSettings struct {
	// 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 VpcSettingsAttributes

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

func (VpcSettingsAttributes) AvailabilityZones

func (vs VpcSettingsAttributes) AvailabilityZones() terra.SetValue[terra.StringValue]

func (VpcSettingsAttributes) InternalRef

func (vs VpcSettingsAttributes) InternalRef() (terra.Reference, error)

func (VpcSettingsAttributes) InternalTokens

func (vs VpcSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VpcSettingsAttributes) InternalWithRef

func (VpcSettingsAttributes) SubnetIds

func (VpcSettingsAttributes) VpcId

type VpcSettingsState

type VpcSettingsState struct {
	AvailabilityZones []string `json:"availability_zones"`
	SubnetIds         []string `json:"subnet_ids"`
	VpcId             string   `json:"vpc_id"`
}

Jump to

Keyboard shortcuts

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