Documentation ¶
Index ¶
- type Args
- type GatewayNetworkInterfaceAttributes
- func (gni GatewayNetworkInterfaceAttributes) InternalRef() (terra.Reference, error)
- func (gni GatewayNetworkInterfaceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gni GatewayNetworkInterfaceAttributes) InternalWithRef(ref terra.Reference) GatewayNetworkInterfaceAttributes
- func (gni GatewayNetworkInterfaceAttributes) Ipv4Address() terra.StringValue
- type GatewayNetworkInterfaceState
- type MaintenanceStartTime
- type MaintenanceStartTimeAttributes
- func (mst MaintenanceStartTimeAttributes) DayOfMonth() terra.StringValue
- func (mst MaintenanceStartTimeAttributes) DayOfWeek() terra.StringValue
- func (mst MaintenanceStartTimeAttributes) HourOfDay() terra.NumberValue
- func (mst MaintenanceStartTimeAttributes) InternalRef() (terra.Reference, error)
- func (mst MaintenanceStartTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mst MaintenanceStartTimeAttributes) InternalWithRef(ref terra.Reference) MaintenanceStartTimeAttributes
- func (mst MaintenanceStartTimeAttributes) MinuteOfHour() terra.NumberValue
- type MaintenanceStartTimeState
- type Resource
- func (asg *Resource) Attributes() awsStoragegatewayGatewayAttributes
- func (asg *Resource) Configuration() interface{}
- func (asg *Resource) DependOn() terra.Reference
- func (asg *Resource) Dependencies() terra.Dependencies
- func (asg *Resource) ImportState(state io.Reader) error
- func (asg *Resource) LifecycleManagement() *terra.Lifecycle
- func (asg *Resource) LocalName() string
- func (asg *Resource) State() (*awsStoragegatewayGatewayState, bool)
- func (asg *Resource) StateMust() *awsStoragegatewayGatewayState
- func (asg *Resource) Type() string
- type SmbActiveDirectorySettings
- type SmbActiveDirectorySettingsAttributes
- func (sads SmbActiveDirectorySettingsAttributes) ActiveDirectoryStatus() terra.StringValue
- func (sads SmbActiveDirectorySettingsAttributes) DomainControllers() terra.SetValue[terra.StringValue]
- func (sads SmbActiveDirectorySettingsAttributes) DomainName() terra.StringValue
- func (sads SmbActiveDirectorySettingsAttributes) InternalRef() (terra.Reference, error)
- func (sads SmbActiveDirectorySettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sads SmbActiveDirectorySettingsAttributes) InternalWithRef(ref terra.Reference) SmbActiveDirectorySettingsAttributes
- func (sads SmbActiveDirectorySettingsAttributes) OrganizationalUnit() terra.StringValue
- func (sads SmbActiveDirectorySettingsAttributes) Password() terra.StringValue
- func (sads SmbActiveDirectorySettingsAttributes) TimeoutInSeconds() terra.NumberValue
- func (sads SmbActiveDirectorySettingsAttributes) Username() terra.StringValue
- type SmbActiveDirectorySettingsState
- type Timeouts
- type TimeoutsAttributes
- type TimeoutsState
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 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 (gni GatewayNetworkInterfaceAttributes) InternalRef() (terra.Reference, error)
func (GatewayNetworkInterfaceAttributes) InternalTokens ¶
func (gni GatewayNetworkInterfaceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GatewayNetworkInterfaceAttributes) InternalWithRef ¶
func (gni GatewayNetworkInterfaceAttributes) InternalWithRef(ref terra.Reference) GatewayNetworkInterfaceAttributes
func (GatewayNetworkInterfaceAttributes) Ipv4Address ¶
func (gni GatewayNetworkInterfaceAttributes) Ipv4Address() terra.StringValue
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 (mst MaintenanceStartTimeAttributes) DayOfMonth() terra.StringValue
func (MaintenanceStartTimeAttributes) DayOfWeek ¶
func (mst MaintenanceStartTimeAttributes) DayOfWeek() terra.StringValue
func (MaintenanceStartTimeAttributes) HourOfDay ¶
func (mst MaintenanceStartTimeAttributes) HourOfDay() terra.NumberValue
func (MaintenanceStartTimeAttributes) InternalRef ¶
func (mst MaintenanceStartTimeAttributes) InternalRef() (terra.Reference, error)
func (MaintenanceStartTimeAttributes) InternalTokens ¶
func (mst MaintenanceStartTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaintenanceStartTimeAttributes) InternalWithRef ¶
func (mst MaintenanceStartTimeAttributes) InternalWithRef(ref terra.Reference) MaintenanceStartTimeAttributes
func (MaintenanceStartTimeAttributes) MinuteOfHour ¶
func (mst MaintenanceStartTimeAttributes) MinuteOfHour() terra.NumberValue
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 (*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) Dependencies ¶
func (asg *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block 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 (sads SmbActiveDirectorySettingsAttributes) DomainControllers() terra.SetValue[terra.StringValue]
func (SmbActiveDirectorySettingsAttributes) DomainName ¶
func (sads SmbActiveDirectorySettingsAttributes) DomainName() terra.StringValue
func (SmbActiveDirectorySettingsAttributes) InternalRef ¶
func (sads SmbActiveDirectorySettingsAttributes) InternalRef() (terra.Reference, error)
func (SmbActiveDirectorySettingsAttributes) InternalTokens ¶
func (sads SmbActiveDirectorySettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SmbActiveDirectorySettingsAttributes) InternalWithRef ¶
func (sads SmbActiveDirectorySettingsAttributes) InternalWithRef(ref terra.Reference) SmbActiveDirectorySettingsAttributes
func (SmbActiveDirectorySettingsAttributes) OrganizationalUnit ¶
func (sads SmbActiveDirectorySettingsAttributes) OrganizationalUnit() terra.StringValue
func (SmbActiveDirectorySettingsAttributes) Password ¶
func (sads SmbActiveDirectorySettingsAttributes) Password() terra.StringValue
func (SmbActiveDirectorySettingsAttributes) TimeoutInSeconds ¶
func (sads SmbActiveDirectorySettingsAttributes) TimeoutInSeconds() terra.NumberValue
func (SmbActiveDirectorySettingsAttributes) Username ¶
func (sads SmbActiveDirectorySettingsAttributes) Username() terra.StringValue
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 (t TimeoutsAttributes) Create() terra.StringValue
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"`
}
Click to show internal directories.
Click to hide internal directories.