awslightsail

package
v2.0.0-rc.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CfnDisk_CFN_RESOURCE_TYPE_NAME

func CfnDisk_CFN_RESOURCE_TYPE_NAME() *string

func CfnDisk_IsCfnElement

func CfnDisk_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.

func CfnDisk_IsCfnResource

func CfnDisk_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource. Experimental.

func CfnDisk_IsConstruct

func CfnDisk_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead

func CfnInstance_CFN_RESOURCE_TYPE_NAME

func CfnInstance_CFN_RESOURCE_TYPE_NAME() *string

func CfnInstance_IsCfnElement

func CfnInstance_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.

func CfnInstance_IsCfnResource

func CfnInstance_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource. Experimental.

func CfnInstance_IsConstruct

func CfnInstance_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead

func NewCfnDisk_Override

func NewCfnDisk_Override(c CfnDisk, scope constructs.Construct, id *string, props *CfnDiskProps)

Create a new `AWS::Lightsail::Disk`.

func NewCfnInstance_Override

func NewCfnInstance_Override(c CfnInstance, scope constructs.Construct, id *string, props *CfnInstanceProps)

Create a new `AWS::Lightsail::Instance`.

Types

type CfnDisk

type CfnDisk interface {
	awscdk.CfnResource
	awscdk.IInspectable
	AddOns() interface{}
	SetAddOns(val interface{})
	AttrAttachedTo() *string
	AttrAttachmentState() *string
	AttrDiskArn() *string
	AttrIops() *float64
	AttrIsAttached() awscdk.IResolvable
	AttrPath() *string
	AttrResourceType() *string
	AttrState() *string
	AttrSupportCode() *string
	AvailabilityZone() *string
	SetAvailabilityZone(val *string)
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	CfnResourceType() *string
	CreationStack() *[]*string
	DiskName() *string
	SetDiskName(val *string)
	LogicalId() *string
	Node() constructs.Node
	Ref() *string
	SizeInGb() *float64
	SetSizeInGb(val *float64)
	Stack() awscdk.Stack
	Tags() awscdk.TagManager
	UpdatedProperites() *map[string]interface{}
	AddDeletionOverride(path *string)
	AddDependsOn(target awscdk.CfnResource)
	AddMetadata(key *string, value interface{})
	AddOverride(path *string, value interface{})
	AddPropertyDeletionOverride(propertyPath *string)
	AddPropertyOverride(propertyPath *string, value interface{})
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	GetAtt(attributeName *string) awscdk.Reference
	GetMetadata(key *string) interface{}
	Inspect(inspector awscdk.TreeInspector)
	OverrideLogicalId(newLogicalId *string)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	ShouldSynthesize() *bool
	ToString() *string
	ValidateProperties(_properties interface{})
}

A CloudFormation `AWS::Lightsail::Disk`.

func NewCfnDisk

func NewCfnDisk(scope constructs.Construct, id *string, props *CfnDiskProps) CfnDisk

Create a new `AWS::Lightsail::Disk`.

type CfnDiskProps

type CfnDiskProps struct {
	// `AWS::Lightsail::Disk.DiskName`.
	DiskName *string `json:"diskName"`
	// `AWS::Lightsail::Disk.SizeInGb`.
	SizeInGb *float64 `json:"sizeInGb"`
	// `AWS::Lightsail::Disk.AddOns`.
	AddOns interface{} `json:"addOns"`
	// `AWS::Lightsail::Disk.AvailabilityZone`.
	AvailabilityZone *string `json:"availabilityZone"`
	// `AWS::Lightsail::Disk.Tags`.
	Tags *[]*awscdk.CfnTag `json:"tags"`
}

Properties for defining a `AWS::Lightsail::Disk`.

type CfnDisk_AddOnProperty

type CfnDisk_AddOnProperty struct {
	// `CfnDisk.AddOnProperty.AddOnType`.
	AddOnType *string `json:"addOnType"`
	// `CfnDisk.AddOnProperty.AutoSnapshotAddOnRequest`.
	AutoSnapshotAddOnRequest interface{} `json:"autoSnapshotAddOnRequest"`
	// `CfnDisk.AddOnProperty.Status`.
	Status *string `json:"status"`
}

type CfnDisk_AutoSnapshotAddOnProperty

type CfnDisk_AutoSnapshotAddOnProperty struct {
	// `CfnDisk.AutoSnapshotAddOnProperty.SnapshotTimeOfDay`.
	SnapshotTimeOfDay *string `json:"snapshotTimeOfDay"`
}

type CfnInstance

type CfnInstance interface {
	awscdk.CfnResource
	awscdk.IInspectable
	AddOns() interface{}
	SetAddOns(val interface{})
	AttrHardwareCpuCount() *float64
	AttrHardwareRamSizeInGb() *float64
	AttrInstanceArn() *string
	AttrIsStaticIp() awscdk.IResolvable
	AttrKeyPairName() *string
	AttrLocationAvailabilityZone() *string
	AttrLocationRegionName() *string
	AttrNetworkingMonthlyTransferGbPerMonthAllocated() *string
	AttrPrivateIpAddress() *string
	AttrPublicIpAddress() *string
	AttrResourceType() *string
	AttrSshKeyName() *string
	AttrStateCode() *float64
	AttrStateName() *string
	AttrSupportCode() *string
	AttrUserData() *string
	AttrUserName() *string
	AvailabilityZone() *string
	SetAvailabilityZone(val *string)
	BlueprintId() *string
	SetBlueprintId(val *string)
	BundleId() *string
	SetBundleId(val *string)
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	CfnResourceType() *string
	CreationStack() *[]*string
	Hardware() interface{}
	SetHardware(val interface{})
	InstanceName() *string
	SetInstanceName(val *string)
	Location() interface{}
	SetLocation(val interface{})
	LogicalId() *string
	Networking() interface{}
	SetNetworking(val interface{})
	Node() constructs.Node
	Ref() *string
	Stack() awscdk.Stack
	State() interface{}
	SetState(val interface{})
	Tags() awscdk.TagManager
	UpdatedProperites() *map[string]interface{}
	AddDeletionOverride(path *string)
	AddDependsOn(target awscdk.CfnResource)
	AddMetadata(key *string, value interface{})
	AddOverride(path *string, value interface{})
	AddPropertyDeletionOverride(propertyPath *string)
	AddPropertyOverride(propertyPath *string, value interface{})
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	GetAtt(attributeName *string) awscdk.Reference
	GetMetadata(key *string) interface{}
	Inspect(inspector awscdk.TreeInspector)
	OverrideLogicalId(newLogicalId *string)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	ShouldSynthesize() *bool
	ToString() *string
	ValidateProperties(_properties interface{})
}

A CloudFormation `AWS::Lightsail::Instance`.

func NewCfnInstance

func NewCfnInstance(scope constructs.Construct, id *string, props *CfnInstanceProps) CfnInstance

Create a new `AWS::Lightsail::Instance`.

type CfnInstanceProps

type CfnInstanceProps struct {
	// `AWS::Lightsail::Instance.BlueprintId`.
	BlueprintId *string `json:"blueprintId"`
	// `AWS::Lightsail::Instance.BundleId`.
	BundleId *string `json:"bundleId"`
	// `AWS::Lightsail::Instance.InstanceName`.
	InstanceName *string `json:"instanceName"`
	// `AWS::Lightsail::Instance.AddOns`.
	AddOns interface{} `json:"addOns"`
	// `AWS::Lightsail::Instance.AvailabilityZone`.
	AvailabilityZone *string `json:"availabilityZone"`
	// `AWS::Lightsail::Instance.Hardware`.
	Hardware interface{} `json:"hardware"`
	// `AWS::Lightsail::Instance.Location`.
	Location interface{} `json:"location"`
	// `AWS::Lightsail::Instance.Networking`.
	Networking interface{} `json:"networking"`
	// `AWS::Lightsail::Instance.State`.
	State interface{} `json:"state"`
	// `AWS::Lightsail::Instance.Tags`.
	Tags *[]*awscdk.CfnTag `json:"tags"`
}

Properties for defining a `AWS::Lightsail::Instance`.

type CfnInstance_AddOnProperty

type CfnInstance_AddOnProperty struct {
	// `CfnInstance.AddOnProperty.AddOnType`.
	AddOnType *string `json:"addOnType"`
	// `CfnInstance.AddOnProperty.AutoSnapshotAddOnRequest`.
	AutoSnapshotAddOnRequest interface{} `json:"autoSnapshotAddOnRequest"`
	// `CfnInstance.AddOnProperty.Status`.
	Status *string `json:"status"`
}

type CfnInstance_AutoSnapshotAddOnProperty

type CfnInstance_AutoSnapshotAddOnProperty struct {
	// `CfnInstance.AutoSnapshotAddOnProperty.SnapshotTimeOfDay`.
	SnapshotTimeOfDay *string `json:"snapshotTimeOfDay"`
}

type CfnInstance_DiskProperty

type CfnInstance_DiskProperty struct {
	// `CfnInstance.DiskProperty.DiskName`.
	DiskName *string `json:"diskName"`
	// `CfnInstance.DiskProperty.Path`.
	Path *string `json:"path"`
	// `CfnInstance.DiskProperty.AttachedTo`.
	AttachedTo *string `json:"attachedTo"`
	// `CfnInstance.DiskProperty.AttachmentState`.
	AttachmentState *string `json:"attachmentState"`
	// `CfnInstance.DiskProperty.IOPS`.
	Iops *float64 `json:"iops"`
	// `CfnInstance.DiskProperty.IsSystemDisk`.
	IsSystemDisk interface{} `json:"isSystemDisk"`
	// `CfnInstance.DiskProperty.SizeInGb`.
	SizeInGb *string `json:"sizeInGb"`
}

type CfnInstance_HardwareProperty

type CfnInstance_HardwareProperty struct {
	// `CfnInstance.HardwareProperty.CpuCount`.
	CpuCount *float64 `json:"cpuCount"`
	// `CfnInstance.HardwareProperty.Disks`.
	Disks interface{} `json:"disks"`
	// `CfnInstance.HardwareProperty.RamSizeInGb`.
	RamSizeInGb *float64 `json:"ramSizeInGb"`
}

type CfnInstance_LocationProperty

type CfnInstance_LocationProperty struct {
	// `CfnInstance.LocationProperty.AvailabilityZone`.
	AvailabilityZone *string `json:"availabilityZone"`
	// `CfnInstance.LocationProperty.RegionName`.
	RegionName *string `json:"regionName"`
}

type CfnInstance_MonthlyTransferProperty

type CfnInstance_MonthlyTransferProperty struct {
	// `CfnInstance.MonthlyTransferProperty.GbPerMonthAllocated`.
	GbPerMonthAllocated *string `json:"gbPerMonthAllocated"`
}

type CfnInstance_NetworkingProperty

type CfnInstance_NetworkingProperty struct {
	// `CfnInstance.NetworkingProperty.Ports`.
	Ports interface{} `json:"ports"`
	// `CfnInstance.NetworkingProperty.MonthlyTransfer`.
	MonthlyTransfer *float64 `json:"monthlyTransfer"`
}

type CfnInstance_PortProperty

type CfnInstance_PortProperty struct {
	// `CfnInstance.PortProperty.AccessDirection`.
	AccessDirection *string `json:"accessDirection"`
	// `CfnInstance.PortProperty.AccessFrom`.
	AccessFrom *string `json:"accessFrom"`
	// `CfnInstance.PortProperty.AccessType`.
	AccessType *string `json:"accessType"`
	// `CfnInstance.PortProperty.CidrListAliases`.
	CidrListAliases *[]*string `json:"cidrListAliases"`
	// `CfnInstance.PortProperty.Cidrs`.
	Cidrs *[]*string `json:"cidrs"`
	// `CfnInstance.PortProperty.CommonName`.
	CommonName *string `json:"commonName"`
	// `CfnInstance.PortProperty.FromPort`.
	FromPort *float64 `json:"fromPort"`
	// `CfnInstance.PortProperty.Ipv6Cidrs`.
	Ipv6Cidrs *[]*string `json:"ipv6Cidrs"`
	// `CfnInstance.PortProperty.Protocol`.
	Protocol *string `json:"protocol"`
	// `CfnInstance.PortProperty.ToPort`.
	ToPort *float64 `json:"toPort"`
}

type CfnInstance_StateProperty

type CfnInstance_StateProperty struct {
	// `CfnInstance.StateProperty.Code`.
	Code *float64 `json:"code"`
	// `CfnInstance.StateProperty.Name`.
	Name *string `json:"name"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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