Documentation ¶
Index ¶
- type Args
- type CertificateConfiguration
- type CertificateConfigurationAttributes
- func (cc CertificateConfigurationAttributes) CertificateType() terra.StringValue
- func (cc CertificateConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (cc CertificateConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc CertificateConfigurationAttributes) InternalWithRef(ref terra.Reference) CertificateConfigurationAttributes
- type CertificateConfigurationState
- type Ec2InboundPermission
- type Ec2InboundPermissionAttributes
- func (eip Ec2InboundPermissionAttributes) FromPort() terra.NumberValue
- func (eip Ec2InboundPermissionAttributes) InternalRef() (terra.Reference, error)
- func (eip Ec2InboundPermissionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (eip Ec2InboundPermissionAttributes) InternalWithRef(ref terra.Reference) Ec2InboundPermissionAttributes
- func (eip Ec2InboundPermissionAttributes) IpRange() terra.StringValue
- func (eip Ec2InboundPermissionAttributes) Protocol() terra.StringValue
- func (eip Ec2InboundPermissionAttributes) ToPort() terra.NumberValue
- type Ec2InboundPermissionState
- type Resource
- func (agf *Resource) Attributes() awsGameliftFleetAttributes
- func (agf *Resource) Configuration() interface{}
- func (agf *Resource) DependOn() terra.Reference
- func (agf *Resource) Dependencies() terra.Dependencies
- func (agf *Resource) ImportState(state io.Reader) error
- func (agf *Resource) LifecycleManagement() *terra.Lifecycle
- func (agf *Resource) LocalName() string
- func (agf *Resource) State() (*awsGameliftFleetState, bool)
- func (agf *Resource) StateMust() *awsGameliftFleetState
- func (agf *Resource) Type() string
- type ResourceCreationLimitPolicy
- type ResourceCreationLimitPolicyAttributes
- func (rclp ResourceCreationLimitPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rclp ResourceCreationLimitPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rclp ResourceCreationLimitPolicyAttributes) InternalWithRef(ref terra.Reference) ResourceCreationLimitPolicyAttributes
- func (rclp ResourceCreationLimitPolicyAttributes) NewGameSessionsPerCreator() terra.NumberValue
- func (rclp ResourceCreationLimitPolicyAttributes) PolicyPeriodInMinutes() terra.NumberValue
- type ResourceCreationLimitPolicyState
- type RuntimeConfiguration
- type RuntimeConfigurationAttributes
- func (rc RuntimeConfigurationAttributes) GameSessionActivationTimeoutSeconds() terra.NumberValue
- func (rc RuntimeConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (rc RuntimeConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc RuntimeConfigurationAttributes) InternalWithRef(ref terra.Reference) RuntimeConfigurationAttributes
- func (rc RuntimeConfigurationAttributes) MaxConcurrentGameSessionActivations() terra.NumberValue
- func (rc RuntimeConfigurationAttributes) ServerProcess() terra.ListValue[RuntimeConfigurationServerProcessAttributes]
- type RuntimeConfigurationServerProcess
- type RuntimeConfigurationServerProcessAttributes
- func (sp RuntimeConfigurationServerProcessAttributes) ConcurrentExecutions() terra.NumberValue
- func (sp RuntimeConfigurationServerProcessAttributes) InternalRef() (terra.Reference, error)
- func (sp RuntimeConfigurationServerProcessAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sp RuntimeConfigurationServerProcessAttributes) InternalWithRef(ref terra.Reference) RuntimeConfigurationServerProcessAttributes
- func (sp RuntimeConfigurationServerProcessAttributes) LaunchPath() terra.StringValue
- func (sp RuntimeConfigurationServerProcessAttributes) Parameters() terra.StringValue
- type RuntimeConfigurationServerProcessState
- type RuntimeConfigurationState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // BuildId: string, optional BuildId terra.StringValue `hcl:"build_id,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Ec2InstanceType: string, required Ec2InstanceType terra.StringValue `hcl:"ec2_instance_type,attr" validate:"required"` // FleetType: string, optional FleetType terra.StringValue `hcl:"fleet_type,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InstanceRoleArn: string, optional InstanceRoleArn terra.StringValue `hcl:"instance_role_arn,attr"` // MetricGroups: list of string, optional MetricGroups terra.ListValue[terra.StringValue] `hcl:"metric_groups,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // NewGameSessionProtectionPolicy: string, optional NewGameSessionProtectionPolicy terra.StringValue `hcl:"new_game_session_protection_policy,attr"` // ScriptId: string, optional ScriptId terra.StringValue `hcl:"script_id,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"` // CertificateConfiguration: optional CertificateConfiguration *CertificateConfiguration `hcl:"certificate_configuration,block"` // Ec2InboundPermission: min=0,max=50 Ec2InboundPermission []Ec2InboundPermission `hcl:"ec2_inbound_permission,block" validate:"min=0,max=50"` // ResourceCreationLimitPolicy: optional ResourceCreationLimitPolicy *ResourceCreationLimitPolicy `hcl:"resource_creation_limit_policy,block"` // RuntimeConfiguration: optional RuntimeConfiguration *RuntimeConfiguration `hcl:"runtime_configuration,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_gamelift_fleet.
type CertificateConfiguration ¶
type CertificateConfiguration struct { // CertificateType: string, optional CertificateType terra.StringValue `hcl:"certificate_type,attr"` }
type CertificateConfigurationAttributes ¶
type CertificateConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (CertificateConfigurationAttributes) CertificateType ¶
func (cc CertificateConfigurationAttributes) CertificateType() terra.StringValue
func (CertificateConfigurationAttributes) InternalRef ¶
func (cc CertificateConfigurationAttributes) InternalRef() (terra.Reference, error)
func (CertificateConfigurationAttributes) InternalTokens ¶
func (cc CertificateConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CertificateConfigurationAttributes) InternalWithRef ¶
func (cc CertificateConfigurationAttributes) InternalWithRef(ref terra.Reference) CertificateConfigurationAttributes
type CertificateConfigurationState ¶
type CertificateConfigurationState struct {
CertificateType string `json:"certificate_type"`
}
type Ec2InboundPermission ¶
type Ec2InboundPermission struct { // FromPort: number, required FromPort terra.NumberValue `hcl:"from_port,attr" validate:"required"` // IpRange: string, required IpRange terra.StringValue `hcl:"ip_range,attr" validate:"required"` // Protocol: string, required Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"` // ToPort: number, required ToPort terra.NumberValue `hcl:"to_port,attr" validate:"required"` }
type Ec2InboundPermissionAttributes ¶
type Ec2InboundPermissionAttributes struct {
// contains filtered or unexported fields
}
func (Ec2InboundPermissionAttributes) FromPort ¶
func (eip Ec2InboundPermissionAttributes) FromPort() terra.NumberValue
func (Ec2InboundPermissionAttributes) InternalRef ¶
func (eip Ec2InboundPermissionAttributes) InternalRef() (terra.Reference, error)
func (Ec2InboundPermissionAttributes) InternalTokens ¶
func (eip Ec2InboundPermissionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Ec2InboundPermissionAttributes) InternalWithRef ¶
func (eip Ec2InboundPermissionAttributes) InternalWithRef(ref terra.Reference) Ec2InboundPermissionAttributes
func (Ec2InboundPermissionAttributes) IpRange ¶
func (eip Ec2InboundPermissionAttributes) IpRange() terra.StringValue
func (Ec2InboundPermissionAttributes) Protocol ¶
func (eip Ec2InboundPermissionAttributes) Protocol() terra.StringValue
func (Ec2InboundPermissionAttributes) ToPort ¶
func (eip Ec2InboundPermissionAttributes) ToPort() 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_gamelift_fleet.
func (*Resource) Attributes ¶
func (agf *Resource) Attributes() awsGameliftFleetAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (agf *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (agf *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 ResourceCreationLimitPolicy ¶
type ResourceCreationLimitPolicy struct { // NewGameSessionsPerCreator: number, optional NewGameSessionsPerCreator terra.NumberValue `hcl:"new_game_sessions_per_creator,attr"` // PolicyPeriodInMinutes: number, optional PolicyPeriodInMinutes terra.NumberValue `hcl:"policy_period_in_minutes,attr"` }
type ResourceCreationLimitPolicyAttributes ¶
type ResourceCreationLimitPolicyAttributes struct {
// contains filtered or unexported fields
}
func (ResourceCreationLimitPolicyAttributes) InternalRef ¶
func (rclp ResourceCreationLimitPolicyAttributes) InternalRef() (terra.Reference, error)
func (ResourceCreationLimitPolicyAttributes) InternalTokens ¶
func (rclp ResourceCreationLimitPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ResourceCreationLimitPolicyAttributes) InternalWithRef ¶
func (rclp ResourceCreationLimitPolicyAttributes) InternalWithRef(ref terra.Reference) ResourceCreationLimitPolicyAttributes
func (ResourceCreationLimitPolicyAttributes) NewGameSessionsPerCreator ¶
func (rclp ResourceCreationLimitPolicyAttributes) NewGameSessionsPerCreator() terra.NumberValue
func (ResourceCreationLimitPolicyAttributes) PolicyPeriodInMinutes ¶
func (rclp ResourceCreationLimitPolicyAttributes) PolicyPeriodInMinutes() terra.NumberValue
type RuntimeConfiguration ¶
type RuntimeConfiguration struct { // GameSessionActivationTimeoutSeconds: number, optional GameSessionActivationTimeoutSeconds terra.NumberValue `hcl:"game_session_activation_timeout_seconds,attr"` // MaxConcurrentGameSessionActivations: number, optional MaxConcurrentGameSessionActivations terra.NumberValue `hcl:"max_concurrent_game_session_activations,attr"` // RuntimeConfigurationServerProcess: min=0,max=50 ServerProcess []RuntimeConfigurationServerProcess `hcl:"server_process,block" validate:"min=0,max=50"` }
type RuntimeConfigurationAttributes ¶
type RuntimeConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (RuntimeConfigurationAttributes) GameSessionActivationTimeoutSeconds ¶
func (rc RuntimeConfigurationAttributes) GameSessionActivationTimeoutSeconds() terra.NumberValue
func (RuntimeConfigurationAttributes) InternalRef ¶
func (rc RuntimeConfigurationAttributes) InternalRef() (terra.Reference, error)
func (RuntimeConfigurationAttributes) InternalTokens ¶
func (rc RuntimeConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuntimeConfigurationAttributes) InternalWithRef ¶
func (rc RuntimeConfigurationAttributes) InternalWithRef(ref terra.Reference) RuntimeConfigurationAttributes
func (RuntimeConfigurationAttributes) MaxConcurrentGameSessionActivations ¶
func (rc RuntimeConfigurationAttributes) MaxConcurrentGameSessionActivations() terra.NumberValue
func (RuntimeConfigurationAttributes) ServerProcess ¶
func (rc RuntimeConfigurationAttributes) ServerProcess() terra.ListValue[RuntimeConfigurationServerProcessAttributes]
type RuntimeConfigurationServerProcess ¶
type RuntimeConfigurationServerProcess struct { // ConcurrentExecutions: number, required ConcurrentExecutions terra.NumberValue `hcl:"concurrent_executions,attr" validate:"required"` // LaunchPath: string, required LaunchPath terra.StringValue `hcl:"launch_path,attr" validate:"required"` // Parameters: string, optional Parameters terra.StringValue `hcl:"parameters,attr"` }
type RuntimeConfigurationServerProcessAttributes ¶
type RuntimeConfigurationServerProcessAttributes struct {
// contains filtered or unexported fields
}
func (RuntimeConfigurationServerProcessAttributes) ConcurrentExecutions ¶
func (sp RuntimeConfigurationServerProcessAttributes) ConcurrentExecutions() terra.NumberValue
func (RuntimeConfigurationServerProcessAttributes) InternalRef ¶
func (sp RuntimeConfigurationServerProcessAttributes) InternalRef() (terra.Reference, error)
func (RuntimeConfigurationServerProcessAttributes) InternalTokens ¶
func (sp RuntimeConfigurationServerProcessAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuntimeConfigurationServerProcessAttributes) InternalWithRef ¶
func (sp RuntimeConfigurationServerProcessAttributes) InternalWithRef(ref terra.Reference) RuntimeConfigurationServerProcessAttributes
func (RuntimeConfigurationServerProcessAttributes) LaunchPath ¶
func (sp RuntimeConfigurationServerProcessAttributes) LaunchPath() terra.StringValue
func (RuntimeConfigurationServerProcessAttributes) Parameters ¶
func (sp RuntimeConfigurationServerProcessAttributes) Parameters() terra.StringValue
type RuntimeConfigurationState ¶
type RuntimeConfigurationState struct { GameSessionActivationTimeoutSeconds float64 `json:"game_session_activation_timeout_seconds"` MaxConcurrentGameSessionActivations float64 `json:"max_concurrent_game_session_activations"` ServerProcess []RuntimeConfigurationServerProcessState `json:"server_process"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() 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 ¶
Click to show internal directories.
Click to hide internal directories.