Documentation
¶
Index ¶
- type Ocean
- func (r *Ocean) AssociatePublicIpAddress() *pulumi.BoolOutput
- func (r *Ocean) Autoscaler() *pulumi.Output
- func (r *Ocean) ClusterName() *pulumi.StringOutput
- func (r *Ocean) DesiredCapacity() *pulumi.IntOutput
- func (r *Ocean) DrainingTimeout() *pulumi.IntOutput
- func (r *Ocean) EbsOptimized() *pulumi.BoolOutput
- func (r *Ocean) ID() *pulumi.IDOutput
- func (r *Ocean) IamInstanceProfile() *pulumi.StringOutput
- func (r *Ocean) ImageId() *pulumi.StringOutput
- func (r *Ocean) KeyPair() *pulumi.StringOutput
- func (r *Ocean) MaxSize() *pulumi.IntOutput
- func (r *Ocean) MinSize() *pulumi.IntOutput
- func (r *Ocean) Monitoring() *pulumi.BoolOutput
- func (r *Ocean) Name() *pulumi.StringOutput
- func (r *Ocean) Region() *pulumi.StringOutput
- func (r *Ocean) SecurityGroupIds() *pulumi.ArrayOutput
- func (r *Ocean) SubnetIds() *pulumi.ArrayOutput
- func (r *Ocean) Tags() *pulumi.ArrayOutput
- func (r *Ocean) URN() *pulumi.URNOutput
- func (r *Ocean) UpdatePolicy() *pulumi.Output
- func (r *Ocean) UserData() *pulumi.StringOutput
- func (r *Ocean) UtilizeReservedInstances() *pulumi.BoolOutput
- func (r *Ocean) Whitelists() *pulumi.ArrayOutput
- type OceanArgs
- type OceanLaunchSpec
- func (r *OceanLaunchSpec) Attributes() *pulumi.ArrayOutput
- func (r *OceanLaunchSpec) ID() *pulumi.IDOutput
- func (r *OceanLaunchSpec) IamInstanceProfile() *pulumi.StringOutput
- func (r *OceanLaunchSpec) ImageId() *pulumi.StringOutput
- func (r *OceanLaunchSpec) Name() *pulumi.StringOutput
- func (r *OceanLaunchSpec) OceanId() *pulumi.StringOutput
- func (r *OceanLaunchSpec) SecurityGroupIds() *pulumi.ArrayOutput
- func (r *OceanLaunchSpec) URN() *pulumi.URNOutput
- func (r *OceanLaunchSpec) UserData() *pulumi.StringOutput
- type OceanLaunchSpecArgs
- type OceanLaunchSpecState
- type OceanState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ocean ¶
type Ocean struct {
// contains filtered or unexported fields
}
Provides a Spotinst Ocean ECS resource.
> This content is derived from https://github.com/terraform-providers/terraform-provider-spotinst/blob/master/website/docs/r/ocean_ecs.html.markdown.
func GetOcean ¶
func GetOcean(ctx *pulumi.Context, name string, id pulumi.ID, state *OceanState, opts ...pulumi.ResourceOpt) (*Ocean, error)
GetOcean gets an existing Ocean resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewOcean ¶
func NewOcean(ctx *pulumi.Context, name string, args *OceanArgs, opts ...pulumi.ResourceOpt) (*Ocean, error)
NewOcean registers a new resource with the given unique name, arguments, and options.
func (*Ocean) AssociatePublicIpAddress ¶
func (r *Ocean) AssociatePublicIpAddress() *pulumi.BoolOutput
Configure public IP address allocation.
func (*Ocean) Autoscaler ¶
Describes the Ocean ECS autoscaler.
func (*Ocean) ClusterName ¶
func (r *Ocean) ClusterName() *pulumi.StringOutput
The ocean cluster name.
func (*Ocean) DesiredCapacity ¶
The number of instances to launch and maintain in the cluster.
func (*Ocean) DrainingTimeout ¶
The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
func (*Ocean) EbsOptimized ¶
func (r *Ocean) EbsOptimized() *pulumi.BoolOutput
Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored.
func (*Ocean) IamInstanceProfile ¶
func (r *Ocean) IamInstanceProfile() *pulumi.StringOutput
The instance profile iam role.
func (*Ocean) ImageId ¶
func (r *Ocean) ImageId() *pulumi.StringOutput
ID of the image used to launch the instances.
func (*Ocean) KeyPair ¶
func (r *Ocean) KeyPair() *pulumi.StringOutput
The key pair to attach the instances.
func (*Ocean) Monitoring ¶
func (r *Ocean) Monitoring() *pulumi.BoolOutput
Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
func (*Ocean) Region ¶
func (r *Ocean) Region() *pulumi.StringOutput
The region the cluster will run in.
func (*Ocean) SecurityGroupIds ¶
func (r *Ocean) SecurityGroupIds() *pulumi.ArrayOutput
One or more security group ids.
func (*Ocean) SubnetIds ¶
func (r *Ocean) SubnetIds() *pulumi.ArrayOutput
A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip.
func (*Ocean) Tags ¶
func (r *Ocean) Tags() *pulumi.ArrayOutput
Optionally adds tags to instances launched in an Ocean cluster.
func (*Ocean) UpdatePolicy ¶
func (*Ocean) UserData ¶
func (r *Ocean) UserData() *pulumi.StringOutput
Base64-encoded MIME user data to make available to the instances.
func (*Ocean) UtilizeReservedInstances ¶
func (r *Ocean) UtilizeReservedInstances() *pulumi.BoolOutput
func (*Ocean) Whitelists ¶
func (r *Ocean) Whitelists() *pulumi.ArrayOutput
Instance types allowed in the Ocean cluster.
type OceanArgs ¶
type OceanArgs struct { // Configure public IP address allocation. AssociatePublicIpAddress interface{} // Describes the Ocean ECS autoscaler. Autoscaler interface{} // The ocean cluster name. ClusterName interface{} // The number of instances to launch and maintain in the cluster. DesiredCapacity interface{} // The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation. DrainingTimeout interface{} // Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored. EbsOptimized interface{} // The instance profile iam role. IamInstanceProfile interface{} // ID of the image used to launch the instances. ImageId interface{} // The key pair to attach the instances. KeyPair interface{} // The upper limit of instances the cluster can scale up to. MaxSize interface{} // The lower limit of instances the cluster can scale down to. MinSize interface{} // Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used. Monitoring interface{} // The Ocean cluster name. Name interface{} // The region the cluster will run in. Region interface{} // One or more security group ids. SecurityGroupIds interface{} // A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip. SubnetIds interface{} // Optionally adds tags to instances launched in an Ocean cluster. Tags interface{} UpdatePolicy interface{} // Base64-encoded MIME user data to make available to the instances. UserData interface{} UtilizeReservedInstances interface{} // Instance types allowed in the Ocean cluster. Whitelists interface{} }
The set of arguments for constructing a Ocean resource.
type OceanLaunchSpec ¶
type OceanLaunchSpec struct {
// contains filtered or unexported fields
}
Provides a custom Spotinst Ocean ECS Launch Spec resource.
> This content is derived from https://github.com/terraform-providers/terraform-provider-spotinst/blob/master/website/docs/r/ocean_ecs_launch_spec.html.markdown.
func GetOceanLaunchSpec ¶
func GetOceanLaunchSpec(ctx *pulumi.Context, name string, id pulumi.ID, state *OceanLaunchSpecState, opts ...pulumi.ResourceOpt) (*OceanLaunchSpec, error)
GetOceanLaunchSpec gets an existing OceanLaunchSpec resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewOceanLaunchSpec ¶
func NewOceanLaunchSpec(ctx *pulumi.Context, name string, args *OceanLaunchSpecArgs, opts ...pulumi.ResourceOpt) (*OceanLaunchSpec, error)
NewOceanLaunchSpec registers a new resource with the given unique name, arguments, and options.
func (*OceanLaunchSpec) Attributes ¶
func (r *OceanLaunchSpec) Attributes() *pulumi.ArrayOutput
Optionally adds labels to instances launched in an Ocean cluster.
func (*OceanLaunchSpec) ID ¶
func (r *OceanLaunchSpec) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*OceanLaunchSpec) IamInstanceProfile ¶
func (r *OceanLaunchSpec) IamInstanceProfile() *pulumi.StringOutput
The ARN or name of an IAM instance profile to associate with launched instances.
func (*OceanLaunchSpec) ImageId ¶
func (r *OceanLaunchSpec) ImageId() *pulumi.StringOutput
ID of the image used to launch the instances.
func (*OceanLaunchSpec) Name ¶
func (r *OceanLaunchSpec) Name() *pulumi.StringOutput
The Ocean Launch Specification name.
func (*OceanLaunchSpec) OceanId ¶
func (r *OceanLaunchSpec) OceanId() *pulumi.StringOutput
The Ocean cluster ID .
func (*OceanLaunchSpec) SecurityGroupIds ¶
func (r *OceanLaunchSpec) SecurityGroupIds() *pulumi.ArrayOutput
One or more security group ids.
func (*OceanLaunchSpec) URN ¶
func (r *OceanLaunchSpec) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*OceanLaunchSpec) UserData ¶
func (r *OceanLaunchSpec) UserData() *pulumi.StringOutput
Base64-encoded MIME user data to make available to the instances.
type OceanLaunchSpecArgs ¶
type OceanLaunchSpecArgs struct { // Optionally adds labels to instances launched in an Ocean cluster. Attributes interface{} // The ARN or name of an IAM instance profile to associate with launched instances. IamInstanceProfile interface{} // ID of the image used to launch the instances. ImageId interface{} // The Ocean Launch Specification name. Name interface{} // The Ocean cluster ID . OceanId interface{} // One or more security group ids. SecurityGroupIds interface{} // Base64-encoded MIME user data to make available to the instances. UserData interface{} }
The set of arguments for constructing a OceanLaunchSpec resource.
type OceanLaunchSpecState ¶
type OceanLaunchSpecState struct { // Optionally adds labels to instances launched in an Ocean cluster. Attributes interface{} // The ARN or name of an IAM instance profile to associate with launched instances. IamInstanceProfile interface{} // ID of the image used to launch the instances. ImageId interface{} // The Ocean Launch Specification name. Name interface{} // The Ocean cluster ID . OceanId interface{} // One or more security group ids. SecurityGroupIds interface{} // Base64-encoded MIME user data to make available to the instances. UserData interface{} }
Input properties used for looking up and filtering OceanLaunchSpec resources.
type OceanState ¶
type OceanState struct { // Configure public IP address allocation. AssociatePublicIpAddress interface{} // Describes the Ocean ECS autoscaler. Autoscaler interface{} // The ocean cluster name. ClusterName interface{} // The number of instances to launch and maintain in the cluster. DesiredCapacity interface{} // The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation. DrainingTimeout interface{} // Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored. EbsOptimized interface{} // The instance profile iam role. IamInstanceProfile interface{} // ID of the image used to launch the instances. ImageId interface{} // The key pair to attach the instances. KeyPair interface{} // The upper limit of instances the cluster can scale up to. MaxSize interface{} // The lower limit of instances the cluster can scale down to. MinSize interface{} // Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used. Monitoring interface{} // The Ocean cluster name. Name interface{} // The region the cluster will run in. Region interface{} // One or more security group ids. SecurityGroupIds interface{} // A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip. SubnetIds interface{} // Optionally adds tags to instances launched in an Ocean cluster. Tags interface{} UpdatePolicy interface{} // Base64-encoded MIME user data to make available to the instances. UserData interface{} UtilizeReservedInstances interface{} // Instance types allowed in the Ocean cluster. Whitelists interface{} }
Input properties used for looking up and filtering Ocean resources.