Documentation ¶
Index ¶
- type Connection
- func (*Connection) ElementType() reflect.Type
- func (i *Connection) ToConnectionOutput() ConnectionOutput
- func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
- func (i *Connection) ToConnectionPtrOutput() ConnectionPtrOutput
- func (i *Connection) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
- type ConnectionArgs
- type ConnectionArray
- type ConnectionArrayInput
- type ConnectionArrayOutput
- func (ConnectionArrayOutput) ElementType() reflect.Type
- func (o ConnectionArrayOutput) Index(i pulumi.IntInput) ConnectionOutput
- func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput
- func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput
- type ConnectionInput
- type ConnectionMap
- type ConnectionMapInput
- type ConnectionMapOutput
- func (ConnectionMapOutput) ElementType() reflect.Type
- func (o ConnectionMapOutput) MapIndex(k pulumi.StringInput) ConnectionOutput
- func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput
- func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput
- type ConnectionOutput
- func (ConnectionOutput) ElementType() reflect.Type
- func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput
- func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
- func (o ConnectionOutput) ToConnectionPtrOutput() ConnectionPtrOutput
- func (o ConnectionOutput) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
- type ConnectionPtrInput
- type ConnectionPtrOutput
- type ConnectionState
- type Host
- type HostArgs
- type HostArray
- type HostArrayInput
- type HostArrayOutput
- type HostInput
- type HostMap
- type HostMapInput
- type HostMapOutput
- type HostOutput
- func (HostOutput) ElementType() reflect.Type
- func (o HostOutput) ToHostOutput() HostOutput
- func (o HostOutput) ToHostOutputWithContext(ctx context.Context) HostOutput
- func (o HostOutput) ToHostPtrOutput() HostPtrOutput
- func (o HostOutput) ToHostPtrOutputWithContext(ctx context.Context) HostPtrOutput
- type HostPtrInput
- type HostPtrOutput
- type HostState
- type HostVpcConfiguration
- type HostVpcConfigurationArgs
- func (HostVpcConfigurationArgs) ElementType() reflect.Type
- func (i HostVpcConfigurationArgs) ToHostVpcConfigurationOutput() HostVpcConfigurationOutput
- func (i HostVpcConfigurationArgs) ToHostVpcConfigurationOutputWithContext(ctx context.Context) HostVpcConfigurationOutput
- func (i HostVpcConfigurationArgs) ToHostVpcConfigurationPtrOutput() HostVpcConfigurationPtrOutput
- func (i HostVpcConfigurationArgs) ToHostVpcConfigurationPtrOutputWithContext(ctx context.Context) HostVpcConfigurationPtrOutput
- type HostVpcConfigurationInput
- type HostVpcConfigurationOutput
- func (HostVpcConfigurationOutput) ElementType() reflect.Type
- func (o HostVpcConfigurationOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o HostVpcConfigurationOutput) SubnetIds() pulumi.StringArrayOutput
- func (o HostVpcConfigurationOutput) TlsCertificate() pulumi.StringPtrOutput
- func (o HostVpcConfigurationOutput) ToHostVpcConfigurationOutput() HostVpcConfigurationOutput
- func (o HostVpcConfigurationOutput) ToHostVpcConfigurationOutputWithContext(ctx context.Context) HostVpcConfigurationOutput
- func (o HostVpcConfigurationOutput) ToHostVpcConfigurationPtrOutput() HostVpcConfigurationPtrOutput
- func (o HostVpcConfigurationOutput) ToHostVpcConfigurationPtrOutputWithContext(ctx context.Context) HostVpcConfigurationPtrOutput
- func (o HostVpcConfigurationOutput) VpcId() pulumi.StringOutput
- type HostVpcConfigurationPtrInput
- type HostVpcConfigurationPtrOutput
- func (o HostVpcConfigurationPtrOutput) Elem() HostVpcConfigurationOutput
- func (HostVpcConfigurationPtrOutput) ElementType() reflect.Type
- func (o HostVpcConfigurationPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o HostVpcConfigurationPtrOutput) SubnetIds() pulumi.StringArrayOutput
- func (o HostVpcConfigurationPtrOutput) TlsCertificate() pulumi.StringPtrOutput
- func (o HostVpcConfigurationPtrOutput) ToHostVpcConfigurationPtrOutput() HostVpcConfigurationPtrOutput
- func (o HostVpcConfigurationPtrOutput) ToHostVpcConfigurationPtrOutputWithContext(ctx context.Context) HostVpcConfigurationPtrOutput
- func (o HostVpcConfigurationPtrOutput) VpcId() pulumi.StringPtrOutput
- type LookupConnectionArgs
- type LookupConnectionResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { pulumi.CustomResourceState // The codestar connection ARN. Arn pulumi.StringOutput `pulumi:"arn"` // The codestar 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"` // The name of the external provider where your third-party code repository is configured. Valid values are `Bitbucket`, `GitHub` or `GitHubEnterpriseServer`. 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 . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a CodeStar Connection.
> **NOTE:** The `codestarconnections.Connection` resource is created in the state `PENDING`. Authentication with the connection provider must be completed in the AWS Console.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/codepipeline" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/codestarconnections" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleConnection, err := codestarconnections.NewConnection(ctx, "exampleConnection", &codestarconnections.ConnectionArgs{ ProviderType: pulumi.String("Bitbucket"), }) if err != nil { return err } _, err = codepipeline.NewPipeline(ctx, "examplePipeline", &codepipeline.PipelineArgs{ RoleArn: pulumi.Any(aws_iam_role.Codepipeline_role.Arn), ArtifactStore: nil, Stages: codepipeline.PipelineStageArray{ &codepipeline.PipelineStageArgs{ Name: pulumi.String("Source"), Actions: codepipeline.PipelineStageActionArray{ &codepipeline.PipelineStageActionArgs{ Name: pulumi.String("Source"), Category: pulumi.String("Source"), Owner: pulumi.String("AWS"), Provider: pulumi.String("CodeStarSourceConnection"), Version: pulumi.String("1"), OutputArtifacts: pulumi.StringArray{ pulumi.String("source_output"), }, Configuration: pulumi.StringMap{ "ConnectionArn": exampleConnection.Arn, "FullRepositoryId": pulumi.String("my-organization/test"), "BranchName": pulumi.String("main"), }, }, }, }, &codepipeline.PipelineStageArgs{ Name: pulumi.String("Build"), Actions: codepipeline.PipelineStageActionArray{ nil, }, }, &codepipeline.PipelineStageArgs{ Name: pulumi.String("Deploy"), Actions: codepipeline.PipelineStageActionArray{ nil, }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
CodeStar connections can be imported using the ARN, e.g.
```sh
$ pulumi import aws:codestarconnections/connection:Connection test-connection arn:aws:codestar-connections: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
func (*Connection) ToConnectionPtrOutput ¶
func (i *Connection) ToConnectionPtrOutput() ConnectionPtrOutput
func (*Connection) ToConnectionPtrOutputWithContext ¶
func (i *Connection) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
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. Valid values are `Bitbucket`, `GitHub` or `GitHubEnterpriseServer`. 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 . TagsAll pulumi.StringMapInput }
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 (o ConnectionArrayOutput) Index(i pulumi.IntInput) ConnectionOutput
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 (o ConnectionMapOutput) MapIndex(k pulumi.StringInput) ConnectionOutput
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) ElementType ¶
func (ConnectionOutput) ElementType() reflect.Type
func (ConnectionOutput) ToConnectionOutput ¶
func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput
func (ConnectionOutput) ToConnectionOutputWithContext ¶
func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
func (ConnectionOutput) ToConnectionPtrOutput ¶
func (o ConnectionOutput) ToConnectionPtrOutput() ConnectionPtrOutput
func (ConnectionOutput) ToConnectionPtrOutputWithContext ¶
func (o ConnectionOutput) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
type ConnectionPtrInput ¶
type ConnectionPtrInput interface { pulumi.Input ToConnectionPtrOutput() ConnectionPtrOutput ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput }
type ConnectionPtrOutput ¶
type ConnectionPtrOutput struct {
*pulumi.OutputState
}
func (ConnectionPtrOutput) ElementType ¶
func (ConnectionPtrOutput) ElementType() reflect.Type
func (ConnectionPtrOutput) ToConnectionPtrOutput ¶
func (o ConnectionPtrOutput) ToConnectionPtrOutput() ConnectionPtrOutput
func (ConnectionPtrOutput) ToConnectionPtrOutputWithContext ¶
func (o ConnectionPtrOutput) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
type ConnectionState ¶
type ConnectionState struct { // The codestar connection ARN. Arn pulumi.StringPtrInput // The codestar 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 // The name of the external provider where your third-party code repository is configured. Valid values are `Bitbucket`, `GitHub` or `GitHubEnterpriseServer`. 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 . TagsAll pulumi.StringMapInput }
func (ConnectionState) ElementType ¶
func (ConnectionState) ElementType() reflect.Type
type Host ¶ added in v4.2.0
type Host struct { pulumi.CustomResourceState // The CodeStar 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"` // The CodeStar Host status. Possible values are `PENDING`, `AVAILABLE`, `VPC_CONFIG_DELETING`, `VPC_CONFIG_INITIALIZING`, and `VPC_CONFIG_FAILED_INITIALIZATION`. Status pulumi.StringOutput `pulumi:"status"` // 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"` }
Provides a CodeStar Host.
> **NOTE:** The `codestarconnections.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
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/codestarconnections" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := codestarconnections.NewHost(ctx, "example", &codestarconnections.HostArgs{ ProviderEndpoint: pulumi.String("https://example.com"), ProviderType: pulumi.String("GitHubEnterpriseServer"), }) if err != nil { return err } return nil }) }
```
## Import
CodeStar Host can be imported using the ARN, e.g.
```sh
$ pulumi import aws:codestarconnections/host:Host example-host arn:aws:codestar-connections:us-west-1:0123456789:host/79d4d357-a2ee-41e4-b350-2fe39ae59448
```
func GetHost ¶ added in v4.2.0
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 ¶ added in v4.2.0
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 ¶ added in v4.2.0
func (*Host) ToHostOutput ¶ added in v4.2.0
func (i *Host) ToHostOutput() HostOutput
func (*Host) ToHostOutputWithContext ¶ added in v4.2.0
func (i *Host) ToHostOutputWithContext(ctx context.Context) HostOutput
func (*Host) ToHostPtrOutput ¶ added in v4.2.0
func (i *Host) ToHostPtrOutput() HostPtrOutput
func (*Host) ToHostPtrOutputWithContext ¶ added in v4.2.0
func (i *Host) ToHostPtrOutputWithContext(ctx context.Context) HostPtrOutput
type HostArgs ¶ added in v4.2.0
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 // 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 ¶ added in v4.2.0
type HostArray ¶ added in v4.2.0
type HostArray []HostInput
func (HostArray) ElementType ¶ added in v4.2.0
func (HostArray) ToHostArrayOutput ¶ added in v4.2.0
func (i HostArray) ToHostArrayOutput() HostArrayOutput
func (HostArray) ToHostArrayOutputWithContext ¶ added in v4.2.0
func (i HostArray) ToHostArrayOutputWithContext(ctx context.Context) HostArrayOutput
type HostArrayInput ¶ added in v4.2.0
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 ¶ added in v4.2.0
type HostArrayOutput struct{ *pulumi.OutputState }
func (HostArrayOutput) ElementType ¶ added in v4.2.0
func (HostArrayOutput) ElementType() reflect.Type
func (HostArrayOutput) Index ¶ added in v4.2.0
func (o HostArrayOutput) Index(i pulumi.IntInput) HostOutput
func (HostArrayOutput) ToHostArrayOutput ¶ added in v4.2.0
func (o HostArrayOutput) ToHostArrayOutput() HostArrayOutput
func (HostArrayOutput) ToHostArrayOutputWithContext ¶ added in v4.2.0
func (o HostArrayOutput) ToHostArrayOutputWithContext(ctx context.Context) HostArrayOutput
type HostInput ¶ added in v4.2.0
type HostInput interface { pulumi.Input ToHostOutput() HostOutput ToHostOutputWithContext(ctx context.Context) HostOutput }
type HostMap ¶ added in v4.2.0
func (HostMap) ElementType ¶ added in v4.2.0
func (HostMap) ToHostMapOutput ¶ added in v4.2.0
func (i HostMap) ToHostMapOutput() HostMapOutput
func (HostMap) ToHostMapOutputWithContext ¶ added in v4.2.0
func (i HostMap) ToHostMapOutputWithContext(ctx context.Context) HostMapOutput
type HostMapInput ¶ added in v4.2.0
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 ¶ added in v4.2.0
type HostMapOutput struct{ *pulumi.OutputState }
func (HostMapOutput) ElementType ¶ added in v4.2.0
func (HostMapOutput) ElementType() reflect.Type
func (HostMapOutput) MapIndex ¶ added in v4.2.0
func (o HostMapOutput) MapIndex(k pulumi.StringInput) HostOutput
func (HostMapOutput) ToHostMapOutput ¶ added in v4.2.0
func (o HostMapOutput) ToHostMapOutput() HostMapOutput
func (HostMapOutput) ToHostMapOutputWithContext ¶ added in v4.2.0
func (o HostMapOutput) ToHostMapOutputWithContext(ctx context.Context) HostMapOutput
type HostOutput ¶ added in v4.2.0
type HostOutput struct {
*pulumi.OutputState
}
func (HostOutput) ElementType ¶ added in v4.2.0
func (HostOutput) ElementType() reflect.Type
func (HostOutput) ToHostOutput ¶ added in v4.2.0
func (o HostOutput) ToHostOutput() HostOutput
func (HostOutput) ToHostOutputWithContext ¶ added in v4.2.0
func (o HostOutput) ToHostOutputWithContext(ctx context.Context) HostOutput
func (HostOutput) ToHostPtrOutput ¶ added in v4.2.0
func (o HostOutput) ToHostPtrOutput() HostPtrOutput
func (HostOutput) ToHostPtrOutputWithContext ¶ added in v4.2.0
func (o HostOutput) ToHostPtrOutputWithContext(ctx context.Context) HostPtrOutput
type HostPtrInput ¶ added in v4.2.0
type HostPtrInput interface { pulumi.Input ToHostPtrOutput() HostPtrOutput ToHostPtrOutputWithContext(ctx context.Context) HostPtrOutput }
type HostPtrOutput ¶ added in v4.2.0
type HostPtrOutput struct {
*pulumi.OutputState
}
func (HostPtrOutput) ElementType ¶ added in v4.2.0
func (HostPtrOutput) ElementType() reflect.Type
func (HostPtrOutput) ToHostPtrOutput ¶ added in v4.2.0
func (o HostPtrOutput) ToHostPtrOutput() HostPtrOutput
func (HostPtrOutput) ToHostPtrOutputWithContext ¶ added in v4.2.0
func (o HostPtrOutput) ToHostPtrOutputWithContext(ctx context.Context) HostPtrOutput
type HostState ¶ added in v4.2.0
type HostState struct { // The CodeStar 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 // The CodeStar Host status. Possible values are `PENDING`, `AVAILABLE`, `VPC_CONFIG_DELETING`, `VPC_CONFIG_INITIALIZING`, and `VPC_CONFIG_FAILED_INITIALIZATION`. Status pulumi.StringPtrInput // 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 ¶ added in v4.2.0
type HostVpcConfiguration ¶ added in v4.2.0
type HostVpcConfiguration struct { // he 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 ¶ added in v4.2.0
type HostVpcConfigurationArgs struct { // he 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 ¶ added in v4.2.0
func (HostVpcConfigurationArgs) ElementType() reflect.Type
func (HostVpcConfigurationArgs) ToHostVpcConfigurationOutput ¶ added in v4.2.0
func (i HostVpcConfigurationArgs) ToHostVpcConfigurationOutput() HostVpcConfigurationOutput
func (HostVpcConfigurationArgs) ToHostVpcConfigurationOutputWithContext ¶ added in v4.2.0
func (i HostVpcConfigurationArgs) ToHostVpcConfigurationOutputWithContext(ctx context.Context) HostVpcConfigurationOutput
func (HostVpcConfigurationArgs) ToHostVpcConfigurationPtrOutput ¶ added in v4.2.0
func (i HostVpcConfigurationArgs) ToHostVpcConfigurationPtrOutput() HostVpcConfigurationPtrOutput
func (HostVpcConfigurationArgs) ToHostVpcConfigurationPtrOutputWithContext ¶ added in v4.2.0
func (i HostVpcConfigurationArgs) ToHostVpcConfigurationPtrOutputWithContext(ctx context.Context) HostVpcConfigurationPtrOutput
type HostVpcConfigurationInput ¶ added in v4.2.0
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 ¶ added in v4.2.0
type HostVpcConfigurationOutput struct{ *pulumi.OutputState }
func (HostVpcConfigurationOutput) ElementType ¶ added in v4.2.0
func (HostVpcConfigurationOutput) ElementType() reflect.Type
func (HostVpcConfigurationOutput) SecurityGroupIds ¶ added in v4.2.0
func (o HostVpcConfigurationOutput) SecurityGroupIds() pulumi.StringArrayOutput
he 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 ¶ added in v4.2.0
func (o HostVpcConfigurationOutput) SubnetIds() pulumi.StringArrayOutput
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 ¶ added in v4.2.0
func (o HostVpcConfigurationOutput) TlsCertificate() pulumi.StringPtrOutput
The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
func (HostVpcConfigurationOutput) ToHostVpcConfigurationOutput ¶ added in v4.2.0
func (o HostVpcConfigurationOutput) ToHostVpcConfigurationOutput() HostVpcConfigurationOutput
func (HostVpcConfigurationOutput) ToHostVpcConfigurationOutputWithContext ¶ added in v4.2.0
func (o HostVpcConfigurationOutput) ToHostVpcConfigurationOutputWithContext(ctx context.Context) HostVpcConfigurationOutput
func (HostVpcConfigurationOutput) ToHostVpcConfigurationPtrOutput ¶ added in v4.2.0
func (o HostVpcConfigurationOutput) ToHostVpcConfigurationPtrOutput() HostVpcConfigurationPtrOutput
func (HostVpcConfigurationOutput) ToHostVpcConfigurationPtrOutputWithContext ¶ added in v4.2.0
func (o HostVpcConfigurationOutput) ToHostVpcConfigurationPtrOutputWithContext(ctx context.Context) HostVpcConfigurationPtrOutput
func (HostVpcConfigurationOutput) VpcId ¶ added in v4.2.0
func (o HostVpcConfigurationOutput) VpcId() pulumi.StringOutput
The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
type HostVpcConfigurationPtrInput ¶ added in v4.2.0
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
func HostVpcConfigurationPtr ¶ added in v4.2.0
func HostVpcConfigurationPtr(v *HostVpcConfigurationArgs) HostVpcConfigurationPtrInput
type HostVpcConfigurationPtrOutput ¶ added in v4.2.0
type HostVpcConfigurationPtrOutput struct{ *pulumi.OutputState }
func (HostVpcConfigurationPtrOutput) Elem ¶ added in v4.2.0
func (o HostVpcConfigurationPtrOutput) Elem() HostVpcConfigurationOutput
func (HostVpcConfigurationPtrOutput) ElementType ¶ added in v4.2.0
func (HostVpcConfigurationPtrOutput) ElementType() reflect.Type
func (HostVpcConfigurationPtrOutput) SecurityGroupIds ¶ added in v4.2.0
func (o HostVpcConfigurationPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput
he 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 ¶ added in v4.2.0
func (o HostVpcConfigurationPtrOutput) SubnetIds() pulumi.StringArrayOutput
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 ¶ added in v4.2.0
func (o HostVpcConfigurationPtrOutput) TlsCertificate() pulumi.StringPtrOutput
The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
func (HostVpcConfigurationPtrOutput) ToHostVpcConfigurationPtrOutput ¶ added in v4.2.0
func (o HostVpcConfigurationPtrOutput) ToHostVpcConfigurationPtrOutput() HostVpcConfigurationPtrOutput
func (HostVpcConfigurationPtrOutput) ToHostVpcConfigurationPtrOutputWithContext ¶ added in v4.2.0
func (o HostVpcConfigurationPtrOutput) ToHostVpcConfigurationPtrOutputWithContext(ctx context.Context) HostVpcConfigurationPtrOutput
func (HostVpcConfigurationPtrOutput) VpcId ¶ added in v4.2.0
func (o HostVpcConfigurationPtrOutput) VpcId() pulumi.StringPtrOutput
The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
type LookupConnectionArgs ¶
type LookupConnectionArgs struct { // The CodeStar Connection ARN. Arn string `pulumi:"arn"` // Map of key-value resource tags to associate with the resource. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getConnection.
type LookupConnectionResult ¶
type LookupConnectionResult struct { Arn string `pulumi:"arn"` // The CodeStar Connection status. Possible values are `PENDING`, `AVAILABLE` and `ERROR`. ConnectionStatus string `pulumi:"connectionStatus"` // The Amazon Resource Name (ARN) of the host associated with the connection. HostArn string `pulumi:"hostArn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of the CodeStar Connection. The name is unique in the calling AWS account. Name string `pulumi:"name"` // The name of the external provider where your third-party code repository is configured. Possible values are `Bitbucket`, `GitHub`, or `GitHubEnterpriseServer`. ProviderType string `pulumi:"providerType"` // Map of key-value resource tags to associate with the resource. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getConnection.
func LookupConnection ¶
func LookupConnection(ctx *pulumi.Context, args *LookupConnectionArgs, opts ...pulumi.InvokeOption) (*LookupConnectionResult, error)
Provides details about CodeStar Connection.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/codestarconnections" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := codestarconnections.LookupConnection(ctx, &codestarconnections.LookupConnectionArgs{ Arn: aws_codestarconnections_connection.Example.Arn, }, nil) if err != nil { return err } return nil }) }
```