aws_storagegateway_gateway

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 {
	// ActivationKey: string, optional
	ActivationKey terra.StringValue `hcl:"activation_key,attr"`
	// AverageDownloadRateLimitInBitsPerSec: number, optional
	AverageDownloadRateLimitInBitsPerSec terra.NumberValue `hcl:"average_download_rate_limit_in_bits_per_sec,attr"`
	// AverageUploadRateLimitInBitsPerSec: number, optional
	AverageUploadRateLimitInBitsPerSec terra.NumberValue `hcl:"average_upload_rate_limit_in_bits_per_sec,attr"`
	// CloudwatchLogGroupArn: string, optional
	CloudwatchLogGroupArn terra.StringValue `hcl:"cloudwatch_log_group_arn,attr"`
	// GatewayIpAddress: string, optional
	GatewayIpAddress terra.StringValue `hcl:"gateway_ip_address,attr"`
	// GatewayName: string, required
	GatewayName terra.StringValue `hcl:"gateway_name,attr" validate:"required"`
	// GatewayTimezone: string, required
	GatewayTimezone terra.StringValue `hcl:"gateway_timezone,attr" validate:"required"`
	// GatewayType: string, optional
	GatewayType terra.StringValue `hcl:"gateway_type,attr"`
	// GatewayVpcEndpoint: string, optional
	GatewayVpcEndpoint terra.StringValue `hcl:"gateway_vpc_endpoint,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// MediumChangerType: string, optional
	MediumChangerType terra.StringValue `hcl:"medium_changer_type,attr"`
	// SmbFileShareVisibility: bool, optional
	SmbFileShareVisibility terra.BoolValue `hcl:"smb_file_share_visibility,attr"`
	// SmbGuestPassword: string, optional
	SmbGuestPassword terra.StringValue `hcl:"smb_guest_password,attr"`
	// SmbSecurityStrategy: string, optional
	SmbSecurityStrategy terra.StringValue `hcl:"smb_security_strategy,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"`
	// TapeDriveType: string, optional
	TapeDriveType terra.StringValue `hcl:"tape_drive_type,attr"`
	// MaintenanceStartTime: optional
	MaintenanceStartTime *MaintenanceStartTime `hcl:"maintenance_start_time,block"`
	// SmbActiveDirectorySettings: optional
	SmbActiveDirectorySettings *SmbActiveDirectorySettings `hcl:"smb_active_directory_settings,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_storagegateway_gateway.

type GatewayNetworkInterfaceAttributes

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

func (GatewayNetworkInterfaceAttributes) InternalRef

func (GatewayNetworkInterfaceAttributes) InternalTokens

func (gni GatewayNetworkInterfaceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GatewayNetworkInterfaceAttributes) InternalWithRef

func (GatewayNetworkInterfaceAttributes) Ipv4Address

type GatewayNetworkInterfaceState

type GatewayNetworkInterfaceState struct {
	Ipv4Address string `json:"ipv4_address"`
}

type MaintenanceStartTime

type MaintenanceStartTime struct {
	// DayOfMonth: string, optional
	DayOfMonth terra.StringValue `hcl:"day_of_month,attr"`
	// DayOfWeek: string, optional
	DayOfWeek terra.StringValue `hcl:"day_of_week,attr"`
	// HourOfDay: number, required
	HourOfDay terra.NumberValue `hcl:"hour_of_day,attr" validate:"required"`
	// MinuteOfHour: number, optional
	MinuteOfHour terra.NumberValue `hcl:"minute_of_hour,attr"`
}

type MaintenanceStartTimeAttributes

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

func (MaintenanceStartTimeAttributes) DayOfMonth

func (MaintenanceStartTimeAttributes) DayOfWeek

func (MaintenanceStartTimeAttributes) HourOfDay

func (MaintenanceStartTimeAttributes) InternalRef

func (mst MaintenanceStartTimeAttributes) InternalRef() (terra.Reference, error)

func (MaintenanceStartTimeAttributes) InternalTokens

func (mst MaintenanceStartTimeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MaintenanceStartTimeAttributes) InternalWithRef

func (MaintenanceStartTimeAttributes) MinuteOfHour

type MaintenanceStartTimeState

type MaintenanceStartTimeState struct {
	DayOfMonth   string  `json:"day_of_month"`
	DayOfWeek    string  `json:"day_of_week"`
	HourOfDay    float64 `json:"hour_of_day"`
	MinuteOfHour float64 `json:"minute_of_hour"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (asg *Resource) Attributes() awsStoragegatewayGatewayAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (asg *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (asg *Resource) State() (*awsStoragegatewayGatewayState, bool)

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

func (*Resource) StateMust

func (asg *Resource) StateMust() *awsStoragegatewayGatewayState

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

func (*Resource) Type

func (asg *Resource) Type() string

Type returns the Terraform object type for Resource.

type SmbActiveDirectorySettings

type SmbActiveDirectorySettings struct {
	// DomainControllers: set of string, optional
	DomainControllers terra.SetValue[terra.StringValue] `hcl:"domain_controllers,attr"`
	// DomainName: string, required
	DomainName terra.StringValue `hcl:"domain_name,attr" validate:"required"`
	// OrganizationalUnit: string, optional
	OrganizationalUnit terra.StringValue `hcl:"organizational_unit,attr"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// TimeoutInSeconds: number, optional
	TimeoutInSeconds terra.NumberValue `hcl:"timeout_in_seconds,attr"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
}

type SmbActiveDirectorySettingsAttributes

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

func (SmbActiveDirectorySettingsAttributes) ActiveDirectoryStatus

func (sads SmbActiveDirectorySettingsAttributes) ActiveDirectoryStatus() terra.StringValue

func (SmbActiveDirectorySettingsAttributes) DomainControllers

func (SmbActiveDirectorySettingsAttributes) DomainName

func (SmbActiveDirectorySettingsAttributes) InternalRef

func (SmbActiveDirectorySettingsAttributes) InternalTokens

func (sads SmbActiveDirectorySettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SmbActiveDirectorySettingsAttributes) InternalWithRef

func (SmbActiveDirectorySettingsAttributes) OrganizationalUnit

func (sads SmbActiveDirectorySettingsAttributes) OrganizationalUnit() terra.StringValue

func (SmbActiveDirectorySettingsAttributes) Password

func (SmbActiveDirectorySettingsAttributes) TimeoutInSeconds

func (sads SmbActiveDirectorySettingsAttributes) TimeoutInSeconds() terra.NumberValue

func (SmbActiveDirectorySettingsAttributes) Username

type SmbActiveDirectorySettingsState

type SmbActiveDirectorySettingsState struct {
	ActiveDirectoryStatus string   `json:"active_directory_status"`
	DomainControllers     []string `json:"domain_controllers"`
	DomainName            string   `json:"domain_name"`
	OrganizationalUnit    string   `json:"organizational_unit"`
	Password              string   `json:"password"`
	TimeoutInSeconds      float64  `json:"timeout_in_seconds"`
	Username              string   `json:"username"`
}

type Timeouts

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

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
}

Jump to

Keyboard shortcuts

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