import { CodeConnectionsHostCustomResource } from '@gammarers/aws-codeconnections-host-custom-resource'
new CodeConnectionsHostCustomResource(scope: Construct, id: string, props: CodeConnectionsHostCustomResourceProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
CodeConnectionsHostCustomResourceProps |
No description. |
- Type: constructs.Construct
- Type: string
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
getResponseField |
Returns response data for the AWS SDK call as string. |
getResponseFieldReference |
Returns response data for the AWS SDK call. |
findHostArn |
No description. |
public toString(): string
Returns a string representation of this construct.
public getResponseField(dataPath: string): string
Returns response data for the AWS SDK call as string.
Example for S3 / listBucket : 'Buckets.0.Name'
Note that you cannot use this method if ignoreErrorCodesMatching
is configured for any of the SDK calls. This is because in such a case,
the response data might not exist, and will cause a CloudFormation deploy time error.
- Type: string
the path to the data.
public getResponseFieldReference(dataPath: string): Reference
Returns response data for the AWS SDK call.
Example for S3 / listBucket : 'Buckets.0.Name'
Use Token.asXxx
to encode the returned Reference
as a specific type or
use the convenience getDataString
for string attributes.
Note that you cannot use this method if ignoreErrorCodesMatching
is configured for any of the SDK calls. This is because in such a case,
the response data might not exist, and will cause a CloudFormation deploy time error.
- Type: string
the path to the data.
public findHostArn(): string
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { CodeConnectionsHostCustomResource } from '@gammarers/aws-codeconnections-host-custom-resource'
CodeConnectionsHostCustomResource.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
grantPrincipal |
aws-cdk-lib.aws_iam.IPrincipal |
The principal to grant permissions to. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly grantPrincipal: IPrincipal;
- Type: aws-cdk-lib.aws_iam.IPrincipal
The principal to grant permissions to.
Name | Type | Description |
---|---|---|
PROVIDER_FUNCTION_UUID |
string |
The uuid of the custom resource provider singleton lambda function. |
public readonly PROVIDER_FUNCTION_UUID: string;
- Type: string
The uuid of the custom resource provider singleton lambda function.
import { CodeConnectionsHostCustomResourceProps } from '@gammarers/aws-codeconnections-host-custom-resource'
const codeConnectionsHostCustomResourceProps: CodeConnectionsHostCustomResourceProps = { ... }
Name | Type | Description |
---|---|---|
name |
string |
No description. |
providerEndpoint |
string |
No description. |
providerType |
CodeConnectionsHostProviderType |
No description. |
resourceNamingOption |
CustomNaming | @gammarers/aws-resource-naming.ResourceDefaultNaming | @gammarers/aws-resource-naming.ResourceAutoNaming |
No description. |
public readonly name: string;
- Type: string
public readonly providerEndpoint: string;
- Type: string
public readonly providerType: CodeConnectionsHostProviderType;
public readonly resourceNamingOption: CustomNaming | ResourceDefaultNaming | ResourceAutoNaming;
- Type: CustomNaming | @gammarers/aws-resource-naming.ResourceDefaultNaming | @gammarers/aws-resource-naming.ResourceAutoNaming
import { CustomNaming } from '@gammarers/aws-codeconnections-host-custom-resource'
const customNaming: CustomNaming = { ... }
Name | Type | Description |
---|---|---|
functionName |
string |
No description. |
functionRoleName |
string |
No description. |
type |
@gammarers/aws-resource-naming.ResourceNamingType |
No description. |
public readonly functionName: string;
- Type: string
public readonly functionRoleName: string;
- Type: string
public readonly type: ResourceNamingType;
- Type: @gammarers/aws-resource-naming.ResourceNamingType
Name | Description |
---|---|
BIT_BUCKET |
No description. |
GIT_HUB |
No description. |
GIT_HUB_ENTERPRISE_SERVER |
No description. |
GIT_LAB |
No description. |
GIT_LAB_SELF_MANAGED |
No description. |
Name | Description |
---|---|
HOST_ARN |
No description. |