codeconnections

package
v6.68.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	pulumi.CustomResourceState

	// The codeconnections connection ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The codeconnections connection status. Possible values are `PENDING`, `AVAILABLE` and `ERROR`.
	ConnectionStatus pulumi.StringOutput `pulumi:"connectionStatus"`
	// The Amazon Resource Name (ARN) of the host associated with the connection. Conflicts with `providerType`
	HostArn pulumi.StringPtrOutput `pulumi:"hostArn"`
	// The name of the connection to be created. The name must be unique in the calling AWS account. Changing `name` will create a new resource.
	Name           pulumi.StringOutput `pulumi:"name"`
	OwnerAccountId pulumi.StringOutput `pulumi:"ownerAccountId"`
	// The name of the external provider where your third-party code repository is configured. Changing `providerType` will create a new resource. Conflicts with `hostArn`.
	ProviderType pulumi.StringOutput `pulumi:"providerType"`
	// Map of key-value resource tags to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll  pulumi.StringMapOutput      `pulumi:"tagsAll"`
	Timeouts ConnectionTimeoutsPtrOutput `pulumi:"timeouts"`
}

Resource for managing an AWS CodeConnections Connection.

> **NOTE:** The `codeconnections.Connection` resource is created in the state `PENDING`. Authentication with the connection provider must be completed in the AWS Console. See the [AWS documentation](https://docs.aws.amazon.com/dtconsole/latest/userguide/connections-update.html) for details.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codeconnections"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := codeconnections.NewConnection(ctx, "example", &codeconnections.ConnectionArgs{
			Name:         pulumi.String("example-connection"),
			ProviderType: pulumi.String("Bitbucket"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CodeConnections connection using the ARN. For example:

```sh $ pulumi import aws:codeconnections/connection:Connection test-connection arn:aws:codeconnections:us-west-1:0123456789:connection/79d4d357-a2ee-41e4-b350-2fe39ae59448 ```

func GetConnection

func GetConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionState, opts ...pulumi.ResourceOption) (*Connection, error)

GetConnection gets an existing Connection 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 NewConnection

func NewConnection(ctx *pulumi.Context,
	name string, args *ConnectionArgs, opts ...pulumi.ResourceOption) (*Connection, error)

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

func (*Connection) ElementType

func (*Connection) ElementType() reflect.Type

func (*Connection) ToConnectionOutput

func (i *Connection) ToConnectionOutput() ConnectionOutput

func (*Connection) ToConnectionOutputWithContext

func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput

type ConnectionArgs

type ConnectionArgs struct {
	// The Amazon Resource Name (ARN) of the host associated with the connection. Conflicts with `providerType`
	HostArn pulumi.StringPtrInput
	// The name of the connection to be created. The name must be unique in the calling AWS account. Changing `name` will create a new resource.
	Name pulumi.StringPtrInput
	// The name of the external provider where your third-party code repository is configured. Changing `providerType` will create a new resource. Conflicts with `hostArn`.
	ProviderType pulumi.StringPtrInput
	// Map of key-value resource tags to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags     pulumi.StringMapInput
	Timeouts ConnectionTimeoutsPtrInput
}

The set of arguments for constructing a Connection resource.

func (ConnectionArgs) ElementType

func (ConnectionArgs) ElementType() reflect.Type

type ConnectionArray

type ConnectionArray []ConnectionInput

func (ConnectionArray) ElementType

func (ConnectionArray) ElementType() reflect.Type

func (ConnectionArray) ToConnectionArrayOutput

func (i ConnectionArray) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArray) ToConnectionArrayOutputWithContext

func (i ConnectionArray) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput

type ConnectionArrayInput

type ConnectionArrayInput interface {
	pulumi.Input

	ToConnectionArrayOutput() ConnectionArrayOutput
	ToConnectionArrayOutputWithContext(context.Context) ConnectionArrayOutput
}

ConnectionArrayInput is an input type that accepts ConnectionArray and ConnectionArrayOutput values. You can construct a concrete instance of `ConnectionArrayInput` via:

ConnectionArray{ ConnectionArgs{...} }

type ConnectionArrayOutput

type ConnectionArrayOutput struct{ *pulumi.OutputState }

func (ConnectionArrayOutput) ElementType

func (ConnectionArrayOutput) ElementType() reflect.Type

func (ConnectionArrayOutput) Index

func (ConnectionArrayOutput) ToConnectionArrayOutput

func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArrayOutput) ToConnectionArrayOutputWithContext

func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput

type ConnectionInput

type ConnectionInput interface {
	pulumi.Input

	ToConnectionOutput() ConnectionOutput
	ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
}

type ConnectionMap

type ConnectionMap map[string]ConnectionInput

func (ConnectionMap) ElementType

func (ConnectionMap) ElementType() reflect.Type

func (ConnectionMap) ToConnectionMapOutput

func (i ConnectionMap) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMap) ToConnectionMapOutputWithContext

func (i ConnectionMap) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput

type ConnectionMapInput

type ConnectionMapInput interface {
	pulumi.Input

	ToConnectionMapOutput() ConnectionMapOutput
	ToConnectionMapOutputWithContext(context.Context) ConnectionMapOutput
}

ConnectionMapInput is an input type that accepts ConnectionMap and ConnectionMapOutput values. You can construct a concrete instance of `ConnectionMapInput` via:

ConnectionMap{ "key": ConnectionArgs{...} }

type ConnectionMapOutput

type ConnectionMapOutput struct{ *pulumi.OutputState }

func (ConnectionMapOutput) ElementType

func (ConnectionMapOutput) ElementType() reflect.Type

func (ConnectionMapOutput) MapIndex

func (ConnectionMapOutput) ToConnectionMapOutput

func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMapOutput) ToConnectionMapOutputWithContext

func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput

type ConnectionOutput

type ConnectionOutput struct{ *pulumi.OutputState }

func (ConnectionOutput) Arn

The codeconnections connection ARN.

func (ConnectionOutput) ConnectionStatus

func (o ConnectionOutput) ConnectionStatus() pulumi.StringOutput

The codeconnections connection status. Possible values are `PENDING`, `AVAILABLE` and `ERROR`.

func (ConnectionOutput) ElementType

func (ConnectionOutput) ElementType() reflect.Type

func (ConnectionOutput) HostArn

The Amazon Resource Name (ARN) of the host associated with the connection. Conflicts with `providerType`

func (ConnectionOutput) Name

The name of the connection to be created. The name must be unique in the calling AWS account. Changing `name` will create a new resource.

func (ConnectionOutput) OwnerAccountId

func (o ConnectionOutput) OwnerAccountId() pulumi.StringOutput

func (ConnectionOutput) ProviderType

func (o ConnectionOutput) ProviderType() pulumi.StringOutput

The name of the external provider where your third-party code repository is configured. Changing `providerType` will create a new resource. Conflicts with `hostArn`.

func (ConnectionOutput) Tags

Map of key-value resource tags to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ConnectionOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ConnectionOutput) Timeouts

func (ConnectionOutput) ToConnectionOutput

func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput

func (ConnectionOutput) ToConnectionOutputWithContext

func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput

type ConnectionState

type ConnectionState struct {
	// The codeconnections connection ARN.
	Arn pulumi.StringPtrInput
	// The codeconnections connection status. Possible values are `PENDING`, `AVAILABLE` and `ERROR`.
	ConnectionStatus pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the host associated with the connection. Conflicts with `providerType`
	HostArn pulumi.StringPtrInput
	// The name of the connection to be created. The name must be unique in the calling AWS account. Changing `name` will create a new resource.
	Name           pulumi.StringPtrInput
	OwnerAccountId pulumi.StringPtrInput
	// The name of the external provider where your third-party code repository is configured. Changing `providerType` will create a new resource. Conflicts with `hostArn`.
	ProviderType pulumi.StringPtrInput
	// Map of key-value resource tags to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll  pulumi.StringMapInput
	Timeouts ConnectionTimeoutsPtrInput
}

func (ConnectionState) ElementType

func (ConnectionState) ElementType() reflect.Type

type ConnectionTimeouts

type ConnectionTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update *string `pulumi:"update"`
}

type ConnectionTimeoutsArgs

type ConnectionTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update pulumi.StringPtrInput `pulumi:"update"`
}

func (ConnectionTimeoutsArgs) ElementType

func (ConnectionTimeoutsArgs) ElementType() reflect.Type

func (ConnectionTimeoutsArgs) ToConnectionTimeoutsOutput

func (i ConnectionTimeoutsArgs) ToConnectionTimeoutsOutput() ConnectionTimeoutsOutput

func (ConnectionTimeoutsArgs) ToConnectionTimeoutsOutputWithContext

func (i ConnectionTimeoutsArgs) ToConnectionTimeoutsOutputWithContext(ctx context.Context) ConnectionTimeoutsOutput

func (ConnectionTimeoutsArgs) ToConnectionTimeoutsPtrOutput

func (i ConnectionTimeoutsArgs) ToConnectionTimeoutsPtrOutput() ConnectionTimeoutsPtrOutput

func (ConnectionTimeoutsArgs) ToConnectionTimeoutsPtrOutputWithContext

func (i ConnectionTimeoutsArgs) ToConnectionTimeoutsPtrOutputWithContext(ctx context.Context) ConnectionTimeoutsPtrOutput

type ConnectionTimeoutsInput

type ConnectionTimeoutsInput interface {
	pulumi.Input

	ToConnectionTimeoutsOutput() ConnectionTimeoutsOutput
	ToConnectionTimeoutsOutputWithContext(context.Context) ConnectionTimeoutsOutput
}

ConnectionTimeoutsInput is an input type that accepts ConnectionTimeoutsArgs and ConnectionTimeoutsOutput values. You can construct a concrete instance of `ConnectionTimeoutsInput` via:

ConnectionTimeoutsArgs{...}

type ConnectionTimeoutsOutput

type ConnectionTimeoutsOutput struct{ *pulumi.OutputState }

func (ConnectionTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (ConnectionTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (ConnectionTimeoutsOutput) ElementType

func (ConnectionTimeoutsOutput) ElementType() reflect.Type

func (ConnectionTimeoutsOutput) ToConnectionTimeoutsOutput

func (o ConnectionTimeoutsOutput) ToConnectionTimeoutsOutput() ConnectionTimeoutsOutput

func (ConnectionTimeoutsOutput) ToConnectionTimeoutsOutputWithContext

func (o ConnectionTimeoutsOutput) ToConnectionTimeoutsOutputWithContext(ctx context.Context) ConnectionTimeoutsOutput

func (ConnectionTimeoutsOutput) ToConnectionTimeoutsPtrOutput

func (o ConnectionTimeoutsOutput) ToConnectionTimeoutsPtrOutput() ConnectionTimeoutsPtrOutput

func (ConnectionTimeoutsOutput) ToConnectionTimeoutsPtrOutputWithContext

func (o ConnectionTimeoutsOutput) ToConnectionTimeoutsPtrOutputWithContext(ctx context.Context) ConnectionTimeoutsPtrOutput

func (ConnectionTimeoutsOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type ConnectionTimeoutsPtrInput

type ConnectionTimeoutsPtrInput interface {
	pulumi.Input

	ToConnectionTimeoutsPtrOutput() ConnectionTimeoutsPtrOutput
	ToConnectionTimeoutsPtrOutputWithContext(context.Context) ConnectionTimeoutsPtrOutput
}

ConnectionTimeoutsPtrInput is an input type that accepts ConnectionTimeoutsArgs, ConnectionTimeoutsPtr and ConnectionTimeoutsPtrOutput values. You can construct a concrete instance of `ConnectionTimeoutsPtrInput` via:

        ConnectionTimeoutsArgs{...}

or:

        nil

type ConnectionTimeoutsPtrOutput

type ConnectionTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (ConnectionTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (ConnectionTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (ConnectionTimeoutsPtrOutput) Elem

func (ConnectionTimeoutsPtrOutput) ElementType

func (ConnectionTimeoutsPtrOutput) ToConnectionTimeoutsPtrOutput

func (o ConnectionTimeoutsPtrOutput) ToConnectionTimeoutsPtrOutput() ConnectionTimeoutsPtrOutput

func (ConnectionTimeoutsPtrOutput) ToConnectionTimeoutsPtrOutputWithContext

func (o ConnectionTimeoutsPtrOutput) ToConnectionTimeoutsPtrOutputWithContext(ctx context.Context) ConnectionTimeoutsPtrOutput

func (ConnectionTimeoutsPtrOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type Host

type Host struct {
	pulumi.CustomResourceState

	// The CodeConnections Host ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name of the host to be created. The name must be unique in the calling AWS account.
	Name pulumi.StringOutput `pulumi:"name"`
	// The endpoint of the infrastructure to be represented by the host after it is created.
	ProviderEndpoint pulumi.StringOutput `pulumi:"providerEndpoint"`
	// The name of the external provider where your third-party code repository is configured.
	ProviderType pulumi.StringOutput    `pulumi:"providerType"`
	Tags         pulumi.StringMapOutput `pulumi:"tags"`
	// Deprecated: Please use `tags` instead.
	TagsAll  pulumi.StringMapOutput `pulumi:"tagsAll"`
	Timeouts HostTimeoutsPtrOutput  `pulumi:"timeouts"`
	// The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.
	VpcConfiguration HostVpcConfigurationPtrOutput `pulumi:"vpcConfiguration"`
}

Resource for managing an AWS CodeConnections Host.

> **NOTE:** The `codeconnections.Host` resource is created in the state `PENDING`. Authentication with the host provider must be completed in the AWS Console. For more information visit [Set up a pending host](https://docs.aws.amazon.com/dtconsole/latest/userguide/connections-host-setup.html).

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codeconnections"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := codeconnections.NewHost(ctx, "example", &codeconnections.HostArgs{
			Name:             pulumi.String("example-host"),
			ProviderEndpoint: pulumi.String("https://example.com"),
			ProviderType:     pulumi.String("GitHubEnterpriseServer"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CodeConnections Host using the ARN. For example:

```sh $ pulumi import aws:codeconnections/host:Host example-host arn:aws:codeconnections:us-west-1:0123456789:host/79d4d357-a2ee-41e4-b350-2fe39ae59448 ```

func GetHost

func GetHost(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostState, opts ...pulumi.ResourceOption) (*Host, error)

GetHost gets an existing Host 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 NewHost

func NewHost(ctx *pulumi.Context,
	name string, args *HostArgs, opts ...pulumi.ResourceOption) (*Host, error)

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

func (*Host) ElementType

func (*Host) ElementType() reflect.Type

func (*Host) ToHostOutput

func (i *Host) ToHostOutput() HostOutput

func (*Host) ToHostOutputWithContext

func (i *Host) ToHostOutputWithContext(ctx context.Context) HostOutput

type HostArgs

type HostArgs struct {
	// The name of the host to be created. The name must be unique in the calling AWS account.
	Name pulumi.StringPtrInput
	// The endpoint of the infrastructure to be represented by the host after it is created.
	ProviderEndpoint pulumi.StringInput
	// The name of the external provider where your third-party code repository is configured.
	ProviderType pulumi.StringInput
	Tags         pulumi.StringMapInput
	Timeouts     HostTimeoutsPtrInput
	// The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.
	VpcConfiguration HostVpcConfigurationPtrInput
}

The set of arguments for constructing a Host resource.

func (HostArgs) ElementType

func (HostArgs) ElementType() reflect.Type

type HostArray

type HostArray []HostInput

func (HostArray) ElementType

func (HostArray) ElementType() reflect.Type

func (HostArray) ToHostArrayOutput

func (i HostArray) ToHostArrayOutput() HostArrayOutput

func (HostArray) ToHostArrayOutputWithContext

func (i HostArray) ToHostArrayOutputWithContext(ctx context.Context) HostArrayOutput

type HostArrayInput

type HostArrayInput interface {
	pulumi.Input

	ToHostArrayOutput() HostArrayOutput
	ToHostArrayOutputWithContext(context.Context) HostArrayOutput
}

HostArrayInput is an input type that accepts HostArray and HostArrayOutput values. You can construct a concrete instance of `HostArrayInput` via:

HostArray{ HostArgs{...} }

type HostArrayOutput

type HostArrayOutput struct{ *pulumi.OutputState }

func (HostArrayOutput) ElementType

func (HostArrayOutput) ElementType() reflect.Type

func (HostArrayOutput) Index

func (HostArrayOutput) ToHostArrayOutput

func (o HostArrayOutput) ToHostArrayOutput() HostArrayOutput

func (HostArrayOutput) ToHostArrayOutputWithContext

func (o HostArrayOutput) ToHostArrayOutputWithContext(ctx context.Context) HostArrayOutput

type HostInput

type HostInput interface {
	pulumi.Input

	ToHostOutput() HostOutput
	ToHostOutputWithContext(ctx context.Context) HostOutput
}

type HostMap

type HostMap map[string]HostInput

func (HostMap) ElementType

func (HostMap) ElementType() reflect.Type

func (HostMap) ToHostMapOutput

func (i HostMap) ToHostMapOutput() HostMapOutput

func (HostMap) ToHostMapOutputWithContext

func (i HostMap) ToHostMapOutputWithContext(ctx context.Context) HostMapOutput

type HostMapInput

type HostMapInput interface {
	pulumi.Input

	ToHostMapOutput() HostMapOutput
	ToHostMapOutputWithContext(context.Context) HostMapOutput
}

HostMapInput is an input type that accepts HostMap and HostMapOutput values. You can construct a concrete instance of `HostMapInput` via:

HostMap{ "key": HostArgs{...} }

type HostMapOutput

type HostMapOutput struct{ *pulumi.OutputState }

func (HostMapOutput) ElementType

func (HostMapOutput) ElementType() reflect.Type

func (HostMapOutput) MapIndex

func (HostMapOutput) ToHostMapOutput

func (o HostMapOutput) ToHostMapOutput() HostMapOutput

func (HostMapOutput) ToHostMapOutputWithContext

func (o HostMapOutput) ToHostMapOutputWithContext(ctx context.Context) HostMapOutput

type HostOutput

type HostOutput struct{ *pulumi.OutputState }

func (HostOutput) Arn

func (o HostOutput) Arn() pulumi.StringOutput

The CodeConnections Host ARN.

func (HostOutput) ElementType

func (HostOutput) ElementType() reflect.Type

func (HostOutput) Name

func (o HostOutput) Name() pulumi.StringOutput

The name of the host to be created. The name must be unique in the calling AWS account.

func (HostOutput) ProviderEndpoint

func (o HostOutput) ProviderEndpoint() pulumi.StringOutput

The endpoint of the infrastructure to be represented by the host after it is created.

func (HostOutput) ProviderType

func (o HostOutput) ProviderType() pulumi.StringOutput

The name of the external provider where your third-party code repository is configured.

func (HostOutput) Tags

func (HostOutput) TagsAll deprecated

func (o HostOutput) TagsAll() pulumi.StringMapOutput

Deprecated: Please use `tags` instead.

func (HostOutput) Timeouts

func (o HostOutput) Timeouts() HostTimeoutsPtrOutput

func (HostOutput) ToHostOutput

func (o HostOutput) ToHostOutput() HostOutput

func (HostOutput) ToHostOutputWithContext

func (o HostOutput) ToHostOutputWithContext(ctx context.Context) HostOutput

func (HostOutput) VpcConfiguration

func (o HostOutput) VpcConfiguration() HostVpcConfigurationPtrOutput

The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.

type HostState

type HostState struct {
	// The CodeConnections Host ARN.
	Arn pulumi.StringPtrInput
	// The name of the host to be created. The name must be unique in the calling AWS account.
	Name pulumi.StringPtrInput
	// The endpoint of the infrastructure to be represented by the host after it is created.
	ProviderEndpoint pulumi.StringPtrInput
	// The name of the external provider where your third-party code repository is configured.
	ProviderType pulumi.StringPtrInput
	Tags         pulumi.StringMapInput
	// Deprecated: Please use `tags` instead.
	TagsAll  pulumi.StringMapInput
	Timeouts HostTimeoutsPtrInput
	// The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.
	VpcConfiguration HostVpcConfigurationPtrInput
}

func (HostState) ElementType

func (HostState) ElementType() reflect.Type

type HostTimeouts

type HostTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update *string `pulumi:"update"`
}

type HostTimeoutsArgs

type HostTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update pulumi.StringPtrInput `pulumi:"update"`
}

func (HostTimeoutsArgs) ElementType

func (HostTimeoutsArgs) ElementType() reflect.Type

func (HostTimeoutsArgs) ToHostTimeoutsOutput

func (i HostTimeoutsArgs) ToHostTimeoutsOutput() HostTimeoutsOutput

func (HostTimeoutsArgs) ToHostTimeoutsOutputWithContext

func (i HostTimeoutsArgs) ToHostTimeoutsOutputWithContext(ctx context.Context) HostTimeoutsOutput

func (HostTimeoutsArgs) ToHostTimeoutsPtrOutput

func (i HostTimeoutsArgs) ToHostTimeoutsPtrOutput() HostTimeoutsPtrOutput

func (HostTimeoutsArgs) ToHostTimeoutsPtrOutputWithContext

func (i HostTimeoutsArgs) ToHostTimeoutsPtrOutputWithContext(ctx context.Context) HostTimeoutsPtrOutput

type HostTimeoutsInput

type HostTimeoutsInput interface {
	pulumi.Input

	ToHostTimeoutsOutput() HostTimeoutsOutput
	ToHostTimeoutsOutputWithContext(context.Context) HostTimeoutsOutput
}

HostTimeoutsInput is an input type that accepts HostTimeoutsArgs and HostTimeoutsOutput values. You can construct a concrete instance of `HostTimeoutsInput` via:

HostTimeoutsArgs{...}

type HostTimeoutsOutput

type HostTimeoutsOutput struct{ *pulumi.OutputState }

func (HostTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (HostTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (HostTimeoutsOutput) ElementType

func (HostTimeoutsOutput) ElementType() reflect.Type

func (HostTimeoutsOutput) ToHostTimeoutsOutput

func (o HostTimeoutsOutput) ToHostTimeoutsOutput() HostTimeoutsOutput

func (HostTimeoutsOutput) ToHostTimeoutsOutputWithContext

func (o HostTimeoutsOutput) ToHostTimeoutsOutputWithContext(ctx context.Context) HostTimeoutsOutput

func (HostTimeoutsOutput) ToHostTimeoutsPtrOutput

func (o HostTimeoutsOutput) ToHostTimeoutsPtrOutput() HostTimeoutsPtrOutput

func (HostTimeoutsOutput) ToHostTimeoutsPtrOutputWithContext

func (o HostTimeoutsOutput) ToHostTimeoutsPtrOutputWithContext(ctx context.Context) HostTimeoutsPtrOutput

func (HostTimeoutsOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type HostTimeoutsPtrInput

type HostTimeoutsPtrInput interface {
	pulumi.Input

	ToHostTimeoutsPtrOutput() HostTimeoutsPtrOutput
	ToHostTimeoutsPtrOutputWithContext(context.Context) HostTimeoutsPtrOutput
}

HostTimeoutsPtrInput is an input type that accepts HostTimeoutsArgs, HostTimeoutsPtr and HostTimeoutsPtrOutput values. You can construct a concrete instance of `HostTimeoutsPtrInput` via:

        HostTimeoutsArgs{...}

or:

        nil

type HostTimeoutsPtrOutput

type HostTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (HostTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (HostTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (HostTimeoutsPtrOutput) Elem

func (HostTimeoutsPtrOutput) ElementType

func (HostTimeoutsPtrOutput) ElementType() reflect.Type

func (HostTimeoutsPtrOutput) ToHostTimeoutsPtrOutput

func (o HostTimeoutsPtrOutput) ToHostTimeoutsPtrOutput() HostTimeoutsPtrOutput

func (HostTimeoutsPtrOutput) ToHostTimeoutsPtrOutputWithContext

func (o HostTimeoutsPtrOutput) ToHostTimeoutsPtrOutputWithContext(ctx context.Context) HostTimeoutsPtrOutput

func (HostTimeoutsPtrOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type HostVpcConfiguration

type HostVpcConfiguration struct {
	// ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	SubnetIds []string `pulumi:"subnetIds"`
	// The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
	TlsCertificate *string `pulumi:"tlsCertificate"`
	// The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
	VpcId string `pulumi:"vpcId"`
}

type HostVpcConfigurationArgs

type HostVpcConfigurationArgs struct {
	// ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"`
	// The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
	TlsCertificate pulumi.StringPtrInput `pulumi:"tlsCertificate"`
	// The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (HostVpcConfigurationArgs) ElementType

func (HostVpcConfigurationArgs) ElementType() reflect.Type

func (HostVpcConfigurationArgs) ToHostVpcConfigurationOutput

func (i HostVpcConfigurationArgs) ToHostVpcConfigurationOutput() HostVpcConfigurationOutput

func (HostVpcConfigurationArgs) ToHostVpcConfigurationOutputWithContext

func (i HostVpcConfigurationArgs) ToHostVpcConfigurationOutputWithContext(ctx context.Context) HostVpcConfigurationOutput

func (HostVpcConfigurationArgs) ToHostVpcConfigurationPtrOutput

func (i HostVpcConfigurationArgs) ToHostVpcConfigurationPtrOutput() HostVpcConfigurationPtrOutput

func (HostVpcConfigurationArgs) ToHostVpcConfigurationPtrOutputWithContext

func (i HostVpcConfigurationArgs) ToHostVpcConfigurationPtrOutputWithContext(ctx context.Context) HostVpcConfigurationPtrOutput

type HostVpcConfigurationInput

type HostVpcConfigurationInput interface {
	pulumi.Input

	ToHostVpcConfigurationOutput() HostVpcConfigurationOutput
	ToHostVpcConfigurationOutputWithContext(context.Context) HostVpcConfigurationOutput
}

HostVpcConfigurationInput is an input type that accepts HostVpcConfigurationArgs and HostVpcConfigurationOutput values. You can construct a concrete instance of `HostVpcConfigurationInput` via:

HostVpcConfigurationArgs{...}

type HostVpcConfigurationOutput

type HostVpcConfigurationOutput struct{ *pulumi.OutputState }

func (HostVpcConfigurationOutput) ElementType

func (HostVpcConfigurationOutput) ElementType() reflect.Type

func (HostVpcConfigurationOutput) SecurityGroupIds

ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.

func (HostVpcConfigurationOutput) SubnetIds

The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.

func (HostVpcConfigurationOutput) TlsCertificate

The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.

func (HostVpcConfigurationOutput) ToHostVpcConfigurationOutput

func (o HostVpcConfigurationOutput) ToHostVpcConfigurationOutput() HostVpcConfigurationOutput

func (HostVpcConfigurationOutput) ToHostVpcConfigurationOutputWithContext

func (o HostVpcConfigurationOutput) ToHostVpcConfigurationOutputWithContext(ctx context.Context) HostVpcConfigurationOutput

func (HostVpcConfigurationOutput) ToHostVpcConfigurationPtrOutput

func (o HostVpcConfigurationOutput) ToHostVpcConfigurationPtrOutput() HostVpcConfigurationPtrOutput

func (HostVpcConfigurationOutput) ToHostVpcConfigurationPtrOutputWithContext

func (o HostVpcConfigurationOutput) ToHostVpcConfigurationPtrOutputWithContext(ctx context.Context) HostVpcConfigurationPtrOutput

func (HostVpcConfigurationOutput) VpcId

The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.

type HostVpcConfigurationPtrInput

type HostVpcConfigurationPtrInput interface {
	pulumi.Input

	ToHostVpcConfigurationPtrOutput() HostVpcConfigurationPtrOutput
	ToHostVpcConfigurationPtrOutputWithContext(context.Context) HostVpcConfigurationPtrOutput
}

HostVpcConfigurationPtrInput is an input type that accepts HostVpcConfigurationArgs, HostVpcConfigurationPtr and HostVpcConfigurationPtrOutput values. You can construct a concrete instance of `HostVpcConfigurationPtrInput` via:

        HostVpcConfigurationArgs{...}

or:

        nil

type HostVpcConfigurationPtrOutput

type HostVpcConfigurationPtrOutput struct{ *pulumi.OutputState }

func (HostVpcConfigurationPtrOutput) Elem

func (HostVpcConfigurationPtrOutput) ElementType

func (HostVpcConfigurationPtrOutput) SecurityGroupIds

ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.

func (HostVpcConfigurationPtrOutput) SubnetIds

The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.

func (HostVpcConfigurationPtrOutput) TlsCertificate

The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.

func (HostVpcConfigurationPtrOutput) ToHostVpcConfigurationPtrOutput

func (o HostVpcConfigurationPtrOutput) ToHostVpcConfigurationPtrOutput() HostVpcConfigurationPtrOutput

func (HostVpcConfigurationPtrOutput) ToHostVpcConfigurationPtrOutputWithContext

func (o HostVpcConfigurationPtrOutput) ToHostVpcConfigurationPtrOutputWithContext(ctx context.Context) HostVpcConfigurationPtrOutput

func (HostVpcConfigurationPtrOutput) VpcId

The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.

Jump to

Keyboard shortcuts

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