Documentation
¶
Index ¶
- type Domain
- type DomainArgs
- type DomainState
- type Instance
- func (r *Instance) Arn() *pulumi.StringOutput
- func (r *Instance) AvailabilityZone() *pulumi.StringOutput
- func (r *Instance) BlueprintId() *pulumi.StringOutput
- func (r *Instance) BundleId() *pulumi.StringOutput
- func (r *Instance) CpuCount() *pulumi.IntOutput
- func (r *Instance) CreatedAt() *pulumi.StringOutput
- func (r *Instance) ID() *pulumi.IDOutput
- func (r *Instance) Ipv6Address() *pulumi.StringOutput
- func (r *Instance) IsStaticIp() *pulumi.BoolOutput
- func (r *Instance) KeyPairName() *pulumi.StringOutput
- func (r *Instance) Name() *pulumi.StringOutput
- func (r *Instance) PrivateIpAddress() *pulumi.StringOutput
- func (r *Instance) PublicIpAddress() *pulumi.StringOutput
- func (r *Instance) RamSize() *pulumi.IntOutput
- func (r *Instance) URN() *pulumi.URNOutput
- func (r *Instance) UserData() *pulumi.StringOutput
- func (r *Instance) Username() *pulumi.StringOutput
- type InstanceArgs
- type InstanceState
- type KeyPair
- func (r *KeyPair) Arn() *pulumi.StringOutput
- func (r *KeyPair) EncryptedFingerprint() *pulumi.StringOutput
- func (r *KeyPair) EncryptedPrivateKey() *pulumi.StringOutput
- func (r *KeyPair) Fingerprint() *pulumi.StringOutput
- func (r *KeyPair) ID() *pulumi.IDOutput
- func (r *KeyPair) Name() *pulumi.StringOutput
- func (r *KeyPair) NamePrefix() *pulumi.StringOutput
- func (r *KeyPair) PgpKey() *pulumi.StringOutput
- func (r *KeyPair) PrivateKey() *pulumi.StringOutput
- func (r *KeyPair) PublicKey() *pulumi.StringOutput
- func (r *KeyPair) URN() *pulumi.URNOutput
- type KeyPairArgs
- type KeyPairState
- type StaticIp
- type StaticIpArgs
- type StaticIpAttachment
- type StaticIpAttachmentArgs
- type StaticIpAttachmentState
- type StaticIpState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Domain ¶
type Domain struct {
// contains filtered or unexported fields
}
Creates a domain resource for the specified domain (e.g., example.com). You cannot register a new domain name using Lightsail. You must register a domain name using Amazon Route 53 or another domain name registrar. If you have already registered your domain, you can enter its name in this parameter to manage the DNS records for that domain.
> **Note:** Lightsail is currently only supported in a limited number of AWS Regions, please see ["Regions and Availability Zones in Amazon Lightsail"](https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail) for more details
func GetDomain ¶
func GetDomain(ctx *pulumi.Context, name string, id pulumi.ID, state *DomainState, opts ...pulumi.ResourceOpt) (*Domain, error)
GetDomain gets an existing Domain 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 NewDomain ¶
func NewDomain(ctx *pulumi.Context, name string, args *DomainArgs, opts ...pulumi.ResourceOpt) (*Domain, error)
NewDomain registers a new resource with the given unique name, arguments, and options.
func (*Domain) DomainName ¶
func (r *Domain) DomainName() *pulumi.StringOutput
The name of the Lightsail domain to manage
type DomainArgs ¶
type DomainArgs struct {
// The name of the Lightsail domain to manage
DomainName interface{}
}
The set of arguments for constructing a Domain resource.
type DomainState ¶
type DomainState struct { // The ARN of the Lightsail domain Arn interface{} // The name of the Lightsail domain to manage DomainName interface{} }
Input properties used for looking up and filtering Domain resources.
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
Provides a Lightsail Instance. Amazon Lightsail is a service to provide easy virtual private servers with custom software already setup. See [What is Amazon Lightsail?](https://lightsail.aws.amazon.com/ls/docs/getting-started/article/what-is-amazon-lightsail) for more information.
> **Note:** Lightsail is currently only supported in a limited number of AWS Regions, please see ["Regions and Availability Zones in Amazon Lightsail"](https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail) for more details
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.ID, state *InstanceState, opts ...pulumi.ResourceOpt) (*Instance, error)
GetInstance gets an existing Instance 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 NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOpt) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) Arn ¶
func (r *Instance) Arn() *pulumi.StringOutput
The ARN of the Lightsail instance (matches `id`). * `availability_zone` * `blueprint_id` * `bundle_id` * `key_pair_name` * `user_data`
func (*Instance) AvailabilityZone ¶
func (r *Instance) AvailabilityZone() *pulumi.StringOutput
The Availability Zone in which to create your instance (see list below)
func (*Instance) BlueprintId ¶
func (r *Instance) BlueprintId() *pulumi.StringOutput
The ID for a virtual private server image (see list below)
func (*Instance) BundleId ¶
func (r *Instance) BundleId() *pulumi.StringOutput
The bundle of specification information (see list below)
func (*Instance) CreatedAt ¶
func (r *Instance) CreatedAt() *pulumi.StringOutput
func (*Instance) Ipv6Address ¶
func (r *Instance) Ipv6Address() *pulumi.StringOutput
func (*Instance) IsStaticIp ¶
func (r *Instance) IsStaticIp() *pulumi.BoolOutput
func (*Instance) KeyPairName ¶
func (r *Instance) KeyPairName() *pulumi.StringOutput
The name of your key pair. Created in the Lightsail console (cannot use `aws_key_pair` at this time)
func (*Instance) Name ¶
func (r *Instance) Name() *pulumi.StringOutput
The name of the Lightsail Instance
func (*Instance) PrivateIpAddress ¶
func (r *Instance) PrivateIpAddress() *pulumi.StringOutput
func (*Instance) PublicIpAddress ¶
func (r *Instance) PublicIpAddress() *pulumi.StringOutput
func (*Instance) UserData ¶
func (r *Instance) UserData() *pulumi.StringOutput
launch script to configure server with additional user data
func (*Instance) Username ¶
func (r *Instance) Username() *pulumi.StringOutput
type InstanceArgs ¶
type InstanceArgs struct { // The Availability Zone in which to create your // instance (see list below) AvailabilityZone interface{} // The ID for a virtual private server image // (see list below) BlueprintId interface{} // The bundle of specification information (see list below) BundleId interface{} // The name of your key pair. Created in the // Lightsail console (cannot use `aws_key_pair` at this time) KeyPairName interface{} // The name of the Lightsail Instance Name interface{} // launch script to configure server with additional user data UserData interface{} }
The set of arguments for constructing a Instance resource.
type InstanceState ¶
type InstanceState struct { // The ARN of the Lightsail instance (matches `id`). // * `availability_zone` // * `blueprint_id` // * `bundle_id` // * `key_pair_name` // * `user_data` Arn interface{} // The Availability Zone in which to create your // instance (see list below) AvailabilityZone interface{} // The ID for a virtual private server image // (see list below) BlueprintId interface{} // The bundle of specification information (see list below) BundleId interface{} CpuCount interface{} CreatedAt interface{} Ipv6Address interface{} IsStaticIp interface{} // The name of your key pair. Created in the // Lightsail console (cannot use `aws_key_pair` at this time) KeyPairName interface{} // The name of the Lightsail Instance Name interface{} PrivateIpAddress interface{} PublicIpAddress interface{} RamSize interface{} // launch script to configure server with additional user data UserData interface{} Username interface{} }
Input properties used for looking up and filtering Instance resources.
type KeyPair ¶
type KeyPair struct {
// contains filtered or unexported fields
}
Provides a Lightsail Key Pair, for use with Lightsail Instances. These key pairs are separate from EC2 Key Pairs, and must be created or imported for use with Lightsail.
> **Note:** Lightsail is currently only supported in a limited number of AWS Regions, please see ["Regions and Availability Zones in Amazon Lightsail"](https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail) for more details
func GetKeyPair ¶
func GetKeyPair(ctx *pulumi.Context, name string, id pulumi.ID, state *KeyPairState, opts ...pulumi.ResourceOpt) (*KeyPair, error)
GetKeyPair gets an existing KeyPair 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 NewKeyPair ¶
func NewKeyPair(ctx *pulumi.Context, name string, args *KeyPairArgs, opts ...pulumi.ResourceOpt) (*KeyPair, error)
NewKeyPair registers a new resource with the given unique name, arguments, and options.
func (*KeyPair) Arn ¶
func (r *KeyPair) Arn() *pulumi.StringOutput
The ARN of the Lightsail key pair
func (*KeyPair) EncryptedFingerprint ¶
func (r *KeyPair) EncryptedFingerprint() *pulumi.StringOutput
The MD5 public key fingerprint for the encrypted private key
func (*KeyPair) EncryptedPrivateKey ¶
func (r *KeyPair) EncryptedPrivateKey() *pulumi.StringOutput
the private key material, base 64 encoded and encrypted with the given `pgp_key`. This is only populated when creating a new key and `pgp_key` is supplied
func (*KeyPair) Fingerprint ¶
func (r *KeyPair) Fingerprint() *pulumi.StringOutput
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
func (*KeyPair) Name ¶
func (r *KeyPair) Name() *pulumi.StringOutput
The name of the Lightsail Key Pair. If omitted, a unique name will be generated by Terraform
func (*KeyPair) NamePrefix ¶
func (r *KeyPair) NamePrefix() *pulumi.StringOutput
func (*KeyPair) PgpKey ¶
func (r *KeyPair) PgpKey() *pulumi.StringOutput
An optional PGP key to encrypt the resulting private key material. Only used when creating a new key pair
func (*KeyPair) PrivateKey ¶
func (r *KeyPair) PrivateKey() *pulumi.StringOutput
the private key, base64 encoded. This is only populated when creating a new key, and when no `pgp_key` is provided
func (*KeyPair) PublicKey ¶
func (r *KeyPair) PublicKey() *pulumi.StringOutput
The public key material. This public key will be imported into Lightsail
type KeyPairArgs ¶
type KeyPairArgs struct { // The name of the Lightsail Key Pair. If omitted, a unique // name will be generated by Terraform Name interface{} NamePrefix interface{} // An optional PGP key to encrypt the resulting private // key material. Only used when creating a new key pair PgpKey interface{} // The public key material. This public key will be // imported into Lightsail PublicKey interface{} }
The set of arguments for constructing a KeyPair resource.
type KeyPairState ¶
type KeyPairState struct { // The ARN of the Lightsail key pair Arn interface{} // The MD5 public key fingerprint for the encrypted // private key EncryptedFingerprint interface{} // the private key material, base 64 encoded and // encrypted with the given `pgp_key`. This is only populated when creating a new // key and `pgp_key` is supplied EncryptedPrivateKey interface{} // The MD5 public key fingerprint as specified in section 4 of RFC 4716. Fingerprint interface{} // The name of the Lightsail Key Pair. If omitted, a unique // name will be generated by Terraform Name interface{} NamePrefix interface{} // An optional PGP key to encrypt the resulting private // key material. Only used when creating a new key pair PgpKey interface{} // the private key, base64 encoded. This is only populated // when creating a new key, and when no `pgp_key` is provided PrivateKey interface{} // The public key material. This public key will be // imported into Lightsail PublicKey interface{} }
Input properties used for looking up and filtering KeyPair resources.
type StaticIp ¶
type StaticIp struct {
// contains filtered or unexported fields
}
Allocates a static IP address.
> **Note:** Lightsail is currently only supported in a limited number of AWS Regions, please see ["Regions and Availability Zones in Amazon Lightsail"](https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail) for more details
func GetStaticIp ¶
func GetStaticIp(ctx *pulumi.Context, name string, id pulumi.ID, state *StaticIpState, opts ...pulumi.ResourceOpt) (*StaticIp, error)
GetStaticIp gets an existing StaticIp 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 NewStaticIp ¶
func NewStaticIp(ctx *pulumi.Context, name string, args *StaticIpArgs, opts ...pulumi.ResourceOpt) (*StaticIp, error)
NewStaticIp registers a new resource with the given unique name, arguments, and options.
func (*StaticIp) Arn ¶
func (r *StaticIp) Arn() *pulumi.StringOutput
The ARN of the Lightsail static IP
func (*StaticIp) IpAddress ¶
func (r *StaticIp) IpAddress() *pulumi.StringOutput
The allocated static IP address
func (*StaticIp) Name ¶
func (r *StaticIp) Name() *pulumi.StringOutput
The name for the allocated static IP
func (*StaticIp) SupportCode ¶
func (r *StaticIp) SupportCode() *pulumi.StringOutput
The support code.
type StaticIpArgs ¶
type StaticIpArgs struct {
// The name for the allocated static IP
Name interface{}
}
The set of arguments for constructing a StaticIp resource.
type StaticIpAttachment ¶
type StaticIpAttachment struct {
// contains filtered or unexported fields
}
Provides a static IP address attachment - relationship between a Lightsail static IP & Lightsail instance.
> **Note:** Lightsail is currently only supported in a limited number of AWS Regions, please see ["Regions and Availability Zones in Amazon Lightsail"](https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail) for more details
func GetStaticIpAttachment ¶
func GetStaticIpAttachment(ctx *pulumi.Context, name string, id pulumi.ID, state *StaticIpAttachmentState, opts ...pulumi.ResourceOpt) (*StaticIpAttachment, error)
GetStaticIpAttachment gets an existing StaticIpAttachment 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 NewStaticIpAttachment ¶
func NewStaticIpAttachment(ctx *pulumi.Context, name string, args *StaticIpAttachmentArgs, opts ...pulumi.ResourceOpt) (*StaticIpAttachment, error)
NewStaticIpAttachment registers a new resource with the given unique name, arguments, and options.
func (*StaticIpAttachment) ID ¶
func (r *StaticIpAttachment) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*StaticIpAttachment) InstanceName ¶
func (r *StaticIpAttachment) InstanceName() *pulumi.StringOutput
The name of the Lightsail instance to attach the IP to
func (*StaticIpAttachment) StaticIpName ¶
func (r *StaticIpAttachment) StaticIpName() *pulumi.StringOutput
The name of the allocated static IP
func (*StaticIpAttachment) URN ¶
func (r *StaticIpAttachment) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type StaticIpAttachmentArgs ¶
type StaticIpAttachmentArgs struct { // The name of the Lightsail instance to attach the IP to InstanceName interface{} // The name of the allocated static IP StaticIpName interface{} }
The set of arguments for constructing a StaticIpAttachment resource.
type StaticIpAttachmentState ¶
type StaticIpAttachmentState struct { // The name of the Lightsail instance to attach the IP to InstanceName interface{} // The name of the allocated static IP StaticIpName interface{} }
Input properties used for looking up and filtering StaticIpAttachment resources.
type StaticIpState ¶
type StaticIpState struct { // The ARN of the Lightsail static IP Arn interface{} // The allocated static IP address IpAddress interface{} // The name for the allocated static IP Name interface{} // The support code. SupportCode interface{} }
Input properties used for looking up and filtering StaticIp resources.