codeconnections

package
v0.108.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 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 Amazon Resource Name (ARN) of the  connection. The ARN is used as the connection reference when the connection is shared between AWS services.
	ConnectionArn pulumi.StringOutput `pulumi:"connectionArn"`
	// The name of the connection. Connection names must be unique in an AWS user account.
	ConnectionName pulumi.StringOutput `pulumi:"connectionName"`
	// The current status of the connection.
	ConnectionStatus pulumi.StringOutput `pulumi:"connectionStatus"`
	// The host arn configured to represent the infrastructure where your third-party provider is installed. You must specify either a ProviderType or a HostArn.
	HostArn pulumi.StringPtrOutput `pulumi:"hostArn"`
	// The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
	OwnerAccountId pulumi.StringOutput `pulumi:"ownerAccountId"`
	// The name of the external provider where your third-party code repository is configured. You must specify either a ProviderType or a HostArn.
	ProviderType pulumi.StringPtrOutput `pulumi:"providerType"`
	// Specifies the tags applied to a connection.
	Tags aws.TagArrayOutput `pulumi:"tags"`
}

Schema for AWS::CodeConnections::Connection resource which can be used to connect external source providers with other AWS services (i.e. AWS CodePipeline)

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 name of the connection. Connection names must be unique in an AWS user account.
	ConnectionName pulumi.StringPtrInput
	// The host arn configured to represent the infrastructure where your third-party provider is installed. You must specify either a ProviderType or a HostArn.
	HostArn pulumi.StringPtrInput
	// The name of the external provider where your third-party code repository is configured. You must specify either a ProviderType or a HostArn.
	ProviderType pulumi.StringPtrInput
	// Specifies the tags applied to a connection.
	Tags aws.TagArrayInput
}

The set of arguments for constructing a Connection resource.

func (ConnectionArgs) ElementType

func (ConnectionArgs) ElementType() reflect.Type

type ConnectionInput

type ConnectionInput interface {
	pulumi.Input

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

type ConnectionOutput

type ConnectionOutput struct{ *pulumi.OutputState }

func (ConnectionOutput) ConnectionArn

func (o ConnectionOutput) ConnectionArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.

func (ConnectionOutput) ConnectionName

func (o ConnectionOutput) ConnectionName() pulumi.StringOutput

The name of the connection. Connection names must be unique in an AWS user account.

func (ConnectionOutput) ConnectionStatus

func (o ConnectionOutput) ConnectionStatus() pulumi.StringOutput

The current status of the connection.

func (ConnectionOutput) ElementType

func (ConnectionOutput) ElementType() reflect.Type

func (ConnectionOutput) HostArn

The host arn configured to represent the infrastructure where your third-party provider is installed. You must specify either a ProviderType or a HostArn.

func (ConnectionOutput) OwnerAccountId

func (o ConnectionOutput) OwnerAccountId() pulumi.StringOutput

The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.

func (ConnectionOutput) ProviderType

func (o ConnectionOutput) ProviderType() pulumi.StringPtrOutput

The name of the external provider where your third-party code repository is configured. You must specify either a ProviderType or a HostArn.

func (ConnectionOutput) Tags

Specifies the tags applied to a connection.

func (ConnectionOutput) ToConnectionOutput

func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput

func (ConnectionOutput) ToConnectionOutputWithContext

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

type ConnectionState

type ConnectionState struct {
}

func (ConnectionState) ElementType

func (ConnectionState) ElementType() reflect.Type

type ConnectionTag

type ConnectionTag struct {
	// The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
	Key string `pulumi:"key"`
	// The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
	Value string `pulumi:"value"`
}

A key-value pair to associate with a resource.

type LookupConnectionArgs

type LookupConnectionArgs struct {
	// The Amazon Resource Name (ARN) of the  connection. The ARN is used as the connection reference when the connection is shared between AWS services.
	ConnectionArn string `pulumi:"connectionArn"`
}

type LookupConnectionOutputArgs

type LookupConnectionOutputArgs struct {
	// The Amazon Resource Name (ARN) of the  connection. The ARN is used as the connection reference when the connection is shared between AWS services.
	ConnectionArn pulumi.StringInput `pulumi:"connectionArn"`
}

func (LookupConnectionOutputArgs) ElementType

func (LookupConnectionOutputArgs) ElementType() reflect.Type

type LookupConnectionResult

type LookupConnectionResult struct {
	// The Amazon Resource Name (ARN) of the  connection. The ARN is used as the connection reference when the connection is shared between AWS services.
	ConnectionArn *string `pulumi:"connectionArn"`
	// The current status of the connection.
	ConnectionStatus *string `pulumi:"connectionStatus"`
	// The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
	OwnerAccountId *string `pulumi:"ownerAccountId"`
	// Specifies the tags applied to a connection.
	Tags []aws.Tag `pulumi:"tags"`
}

func LookupConnection

func LookupConnection(ctx *pulumi.Context, args *LookupConnectionArgs, opts ...pulumi.InvokeOption) (*LookupConnectionResult, error)

Schema for AWS::CodeConnections::Connection resource which can be used to connect external source providers with other AWS services (i.e. AWS CodePipeline)

type LookupConnectionResultOutput

type LookupConnectionResultOutput struct{ *pulumi.OutputState }

func (LookupConnectionResultOutput) ConnectionArn

The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.

func (LookupConnectionResultOutput) ConnectionStatus

The current status of the connection.

func (LookupConnectionResultOutput) ElementType

func (LookupConnectionResultOutput) OwnerAccountId

The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.

func (LookupConnectionResultOutput) Tags

Specifies the tags applied to a connection.

func (LookupConnectionResultOutput) ToLookupConnectionResultOutput

func (o LookupConnectionResultOutput) ToLookupConnectionResultOutput() LookupConnectionResultOutput

func (LookupConnectionResultOutput) ToLookupConnectionResultOutputWithContext

func (o LookupConnectionResultOutput) ToLookupConnectionResultOutputWithContext(ctx context.Context) LookupConnectionResultOutput

Jump to

Keyboard shortcuts

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