aws

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type Bastion

type Bastion struct {
	pulumi.ResourceState

	// The name of the ASG that managed the bastion instances
	AsgName pulumi.StringOutput `pulumi:"asgName"`
	// The SSH private key to access your bastion
	PrivateKey pulumi.StringOutput `pulumi:"privateKey"`
}

func NewBastion

func NewBastion(ctx *pulumi.Context,
	name string, args *BastionArgs, opts ...pulumi.ResourceOption) (*Bastion, error)

NewBastion registers a new resource with the given unique name, arguments, and options.

func (*Bastion) ElementType

func (*Bastion) ElementType() reflect.Type

func (*Bastion) ToBastionOutput

func (i *Bastion) ToBastionOutput() BastionOutput

func (*Bastion) ToBastionOutputWithContext

func (i *Bastion) ToBastionOutputWithContext(ctx context.Context) BastionOutput

func (*Bastion) ToOutput added in v0.1.0

func (i *Bastion) ToOutput(ctx context.Context) pulumix.Output[*Bastion]

type BastionArgs

type BastionArgs struct {
	// Whether the bastion advertises itself as an app connector.
	EnableAppConnector pulumi.BoolPtrInput
	// Whether the subnet router can advertise itself as an exit node.
	EnableExitNode pulumi.BoolPtrInput
	// Whether to enable SSH access to the bastion.
	EnableSSH pulumi.BoolPtrInput
	// Whether the bastion should be highly available.
	HighAvailability pulumi.BoolInput
	// The hostname of the bastion.
	Hostname pulumi.StringPtrInput
	// The EC2 instance type to use for the bastion.
	InstanceType pulumi.StringPtrInput
	// Whether the bastion is going in public subnets.
	Public pulumi.BoolPtrInput
	// The AWS region you're using.
	Region pulumi.StringInput
	// The route you'd like to advertise via tailscale.
	Route pulumi.StringInput
	// The subnet Ids to launch instances in.
	SubnetIds pulumi.StringArrayInput
	// The tags to apply to the tailnet device andauth key. This tag should be added to your oauth key and ACL.
	TailscaleTags pulumi.StringArrayInput
	// The VPC the Bastion should be created in.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a Bastion resource.

func (BastionArgs) ElementType

func (BastionArgs) ElementType() reflect.Type

type BastionArray

type BastionArray []BastionInput

func (BastionArray) ElementType

func (BastionArray) ElementType() reflect.Type

func (BastionArray) ToBastionArrayOutput

func (i BastionArray) ToBastionArrayOutput() BastionArrayOutput

func (BastionArray) ToBastionArrayOutputWithContext

func (i BastionArray) ToBastionArrayOutputWithContext(ctx context.Context) BastionArrayOutput

func (BastionArray) ToOutput added in v0.1.0

func (i BastionArray) ToOutput(ctx context.Context) pulumix.Output[[]*Bastion]

type BastionArrayInput

type BastionArrayInput interface {
	pulumi.Input

	ToBastionArrayOutput() BastionArrayOutput
	ToBastionArrayOutputWithContext(context.Context) BastionArrayOutput
}

BastionArrayInput is an input type that accepts BastionArray and BastionArrayOutput values. You can construct a concrete instance of `BastionArrayInput` via:

BastionArray{ BastionArgs{...} }

type BastionArrayOutput

type BastionArrayOutput struct{ *pulumi.OutputState }

func (BastionArrayOutput) ElementType

func (BastionArrayOutput) ElementType() reflect.Type

func (BastionArrayOutput) Index

func (BastionArrayOutput) ToBastionArrayOutput

func (o BastionArrayOutput) ToBastionArrayOutput() BastionArrayOutput

func (BastionArrayOutput) ToBastionArrayOutputWithContext

func (o BastionArrayOutput) ToBastionArrayOutputWithContext(ctx context.Context) BastionArrayOutput

func (BastionArrayOutput) ToOutput added in v0.1.0

type BastionInput

type BastionInput interface {
	pulumi.Input

	ToBastionOutput() BastionOutput
	ToBastionOutputWithContext(ctx context.Context) BastionOutput
}

type BastionMap

type BastionMap map[string]BastionInput

func (BastionMap) ElementType

func (BastionMap) ElementType() reflect.Type

func (BastionMap) ToBastionMapOutput

func (i BastionMap) ToBastionMapOutput() BastionMapOutput

func (BastionMap) ToBastionMapOutputWithContext

func (i BastionMap) ToBastionMapOutputWithContext(ctx context.Context) BastionMapOutput

func (BastionMap) ToOutput added in v0.1.0

func (i BastionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Bastion]

type BastionMapInput

type BastionMapInput interface {
	pulumi.Input

	ToBastionMapOutput() BastionMapOutput
	ToBastionMapOutputWithContext(context.Context) BastionMapOutput
}

BastionMapInput is an input type that accepts BastionMap and BastionMapOutput values. You can construct a concrete instance of `BastionMapInput` via:

BastionMap{ "key": BastionArgs{...} }

type BastionMapOutput

type BastionMapOutput struct{ *pulumi.OutputState }

func (BastionMapOutput) ElementType

func (BastionMapOutput) ElementType() reflect.Type

func (BastionMapOutput) MapIndex

func (BastionMapOutput) ToBastionMapOutput

func (o BastionMapOutput) ToBastionMapOutput() BastionMapOutput

func (BastionMapOutput) ToBastionMapOutputWithContext

func (o BastionMapOutput) ToBastionMapOutputWithContext(ctx context.Context) BastionMapOutput

func (BastionMapOutput) ToOutput added in v0.1.0

type BastionOutput

type BastionOutput struct{ *pulumi.OutputState }

func (BastionOutput) AsgName

func (o BastionOutput) AsgName() pulumi.StringOutput

The name of the ASG that managed the bastion instances

func (BastionOutput) ElementType

func (BastionOutput) ElementType() reflect.Type

func (BastionOutput) PrivateKey added in v0.0.10

func (o BastionOutput) PrivateKey() pulumi.StringOutput

The SSH private key to access your bastion

func (BastionOutput) ToBastionOutput

func (o BastionOutput) ToBastionOutput() BastionOutput

func (BastionOutput) ToBastionOutputWithContext

func (o BastionOutput) ToBastionOutputWithContext(ctx context.Context) BastionOutput

func (BastionOutput) ToOutput added in v0.1.0

func (o BastionOutput) ToOutput(ctx context.Context) pulumix.Output[*Bastion]

Jump to

Keyboard shortcuts

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