Connection
Manages an AWS CodeStarConnections Connection.
Sample code
exports.createResources = () => [
{
type: "Connection",
group: "CodeStarConnections",
properties: ({}) => ({
ConnectionName: "myconn",
ProviderType: "GitHub",
}),
},
];
Dependencies
Used By
Properties
Full Examples
List
The connections can be filtered with the CodeStarConnections::Connection type:
gc l -t CodeStarConnections::Connection
Listing resources on 1 provider: aws
✓ aws us-east-1
✓ Initialising
✓ Listing 1/1
┌─────────────────────────────────────────────────────────────────────────────────────────┐
│ 1 CodeStarConnections::Connection from aws │
├─────────────────────────────────────────────────────────────────────────────────────────┤
│ name: myconn │
│ managedByUs: Yes │
│ live: │
│ ConnectionArn: arn:aws:codestar-connections:us-east-1:840541460064:connection/6ba9de… │
│ ConnectionName: myconn │
│ ConnectionStatus: AVAILABLE │
│ OwnerAccountId: 840541460064 │
│ ProviderType: GitHub │
│ │
└─────────────────────────────────────────────────────────────────────────────────────────┘
List Summary:
Provider: aws
┌────────────────────────────────────────────────────────────────────────────────────────┐
│ aws │
├─────────────────────────────────┬──────────────────────────────────────────────────────┤
│ CodeStarConnections::Connection │ myconn │
└─────────────────────────────────┴──────────────────────────────────────────────────────┘
1 resource, 1 type, 1 provider
Command "gc l -t CodeStarConnections::Connection" executed in 4s, 117 MB