full
full(arn: String) -> ArnHandle
Construct an ArnHandle from a full ARN literal.
| Parameter | Type | Required | Description |
|---|---|---|---|
arn | String | yes | Full ARN string. |
Builder for AWS ARN handles used in block parameters that reference Connect resources, Lambda functions, customer profiles, and so on. Decompile hoists every ARN string in the flow into a top-of-script arns map and substitutes arns.<key> at every call site.
fullfull(arn: String) -> ArnHandle
Construct an ArnHandle from a full ARN literal.
| Parameter | Type | Required | Description |
|---|---|---|---|
arn | String | yes | Full ARN string. |
partsparts(service: String, region: String, account: String, resource: String) -> ArnHandle
Construct an ArnHandle from its four common segments; the partition defaults to aws.
| Parameter | Type | Required | Description |
|---|---|---|---|
service | String | yes | ARN service segment (e.g. lambda, connect). |
region | String | yes | AWS region segment (e.g. us-west-2). |
account | String | yes | 12-digit AWS account id segment. |
resource | String | yes | Resource path segment after the account. |
to_stringto_string() -> String
Render the handle back to its full ARN string.
partitionpartition() -> String
The partition segment (aws, aws-cn, aws-us-gov).
serviceservice() -> String
The service segment (e.g. lambda, connect).
regionregion() -> String
The region segment (e.g. us-west-2).
accountaccount() -> String
The 12-digit AWS account id segment.
resourceresource() -> String
The resource path segment after the account.
set_partitionset_partition(partition: String) -> ()
Overwrite the ARN's partition segment in place.
| Parameter | Type | Required | Description |
|---|---|---|---|
partition | String | yes | Replacement partition segment. |
set_serviceset_service(service: String) -> ()
Overwrite the ARN's service segment in place.
| Parameter | Type | Required | Description |
|---|---|---|---|
service | String | yes | Replacement service segment. |
set_regionset_region(region: String) -> ()
Overwrite the ARN's region segment in place.
| Parameter | Type | Required | Description |
|---|---|---|---|
region | String | yes | Replacement region segment. |
set_accountset_account(account: String) -> ()
Overwrite the ARN's account segment in place.
| Parameter | Type | Required | Description |
|---|---|---|---|
account | String | yes | Replacement account segment. |
set_resourceset_resource(resource: String) -> ()
Overwrite the ARN's resource segment in place.
| Parameter | Type | Required | Description |
|---|---|---|---|
resource | String | yes | Replacement resource segment. |