Functions that represent AWS CDK enums and builders in the software.amazon.awscdk.services.codecommit package.
Functions that represent AWS CDK enums and builders in the software.amazon.awscdk.services.codecommit package.
(build-cfn-repository-builder builder id config)
The build-cfn-repository-builder function updates a CfnRepository$Builder instance using the provided configuration. The function takes the CfnRepository$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself.
Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value:
Field | DataType | Lookup Function | Data Key |
---|---|---|---|
code | software.amazon.awscdk.IResolvable | cdk.support/lookup-entry | :code |
kmsKeyId | java.lang.String | cdk.support/lookup-entry | :kms-key-id |
repositoryDescription | java.lang.String | cdk.support/lookup-entry | :repository-description |
repositoryName | java.lang.String | cdk.support/lookup-entry | :repository-name |
tags | java.util.List | cdk.support/lookup-entry | :tags |
triggers | java.util.List | cdk.support/lookup-entry | :triggers |
The build-cfn-repository-builder function updates a CfnRepository$Builder instance using the provided configuration. The function takes the CfnRepository$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself. Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value: | Field | DataType | Lookup Function | Data Key | |---|---|---|---| | `code` | software.amazon.awscdk.IResolvable | [[cdk.support/lookup-entry]] | `:code` | | `kmsKeyId` | java.lang.String | [[cdk.support/lookup-entry]] | `:kms-key-id` | | `repositoryDescription` | java.lang.String | [[cdk.support/lookup-entry]] | `:repository-description` | | `repositoryName` | java.lang.String | [[cdk.support/lookup-entry]] | `:repository-name` | | `tags` | java.util.List | [[cdk.support/lookup-entry]] | `:tags` | | `triggers` | java.util.List | [[cdk.support/lookup-entry]] | `:triggers` |
(build-cfn-repository-code-property-builder builder id config)
The build-cfn-repository-code-property-builder function updates a CfnRepository$CodeProperty$Builder instance using the provided configuration. The function takes the CfnRepository$CodeProperty$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself.
Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value:
Field | DataType | Lookup Function | Data Key |
---|---|---|---|
branchName | java.lang.String | cdk.support/lookup-entry | :branch-name |
s3 | software.amazon.awscdk.services.codecommit.CfnRepository$S3Property | cdk.support/lookup-entry | :s3 |
The build-cfn-repository-code-property-builder function updates a CfnRepository$CodeProperty$Builder instance using the provided configuration. The function takes the CfnRepository$CodeProperty$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself. Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value: | Field | DataType | Lookup Function | Data Key | |---|---|---|---| | `branchName` | java.lang.String | [[cdk.support/lookup-entry]] | `:branch-name` | | `s3` | software.amazon.awscdk.services.codecommit.CfnRepository$S3Property | [[cdk.support/lookup-entry]] | `:s3` |
(build-cfn-repository-props-builder builder id config)
The build-cfn-repository-props-builder function updates a CfnRepositoryProps$Builder instance using the provided configuration. The function takes the CfnRepositoryProps$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself.
Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value:
Field | DataType | Lookup Function | Data Key |
---|---|---|---|
code | software.amazon.awscdk.IResolvable | cdk.support/lookup-entry | :code |
kmsKeyId | java.lang.String | cdk.support/lookup-entry | :kms-key-id |
repositoryDescription | java.lang.String | cdk.support/lookup-entry | :repository-description |
repositoryName | java.lang.String | cdk.support/lookup-entry | :repository-name |
tags | java.util.List | cdk.support/lookup-entry | :tags |
triggers | software.amazon.awscdk.IResolvable | cdk.support/lookup-entry | :triggers |
The build-cfn-repository-props-builder function updates a CfnRepositoryProps$Builder instance using the provided configuration. The function takes the CfnRepositoryProps$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself. Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value: | Field | DataType | Lookup Function | Data Key | |---|---|---|---| | `code` | software.amazon.awscdk.IResolvable | [[cdk.support/lookup-entry]] | `:code` | | `kmsKeyId` | java.lang.String | [[cdk.support/lookup-entry]] | `:kms-key-id` | | `repositoryDescription` | java.lang.String | [[cdk.support/lookup-entry]] | `:repository-description` | | `repositoryName` | java.lang.String | [[cdk.support/lookup-entry]] | `:repository-name` | | `tags` | java.util.List | [[cdk.support/lookup-entry]] | `:tags` | | `triggers` | software.amazon.awscdk.IResolvable | [[cdk.support/lookup-entry]] | `:triggers` |
(build-cfn-repository-repository-trigger-property-builder builder id config)
The build-cfn-repository-repository-trigger-property-builder function updates a CfnRepository$RepositoryTriggerProperty$Builder instance using the provided configuration. The function takes the CfnRepository$RepositoryTriggerProperty$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself.
Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value:
Field | DataType | Lookup Function | Data Key |
---|---|---|---|
branches | java.util.List | cdk.support/lookup-entry | :branches |
customData | java.lang.String | cdk.support/lookup-entry | :custom-data |
destinationArn | java.lang.String | cdk.support/lookup-entry | :destination-arn |
events | java.util.List | cdk.support/lookup-entry | :events |
name | java.lang.String | cdk.support/lookup-entry | :name |
The build-cfn-repository-repository-trigger-property-builder function updates a CfnRepository$RepositoryTriggerProperty$Builder instance using the provided configuration. The function takes the CfnRepository$RepositoryTriggerProperty$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself. Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value: | Field | DataType | Lookup Function | Data Key | |---|---|---|---| | `branches` | java.util.List | [[cdk.support/lookup-entry]] | `:branches` | | `customData` | java.lang.String | [[cdk.support/lookup-entry]] | `:custom-data` | | `destinationArn` | java.lang.String | [[cdk.support/lookup-entry]] | `:destination-arn` | | `events` | java.util.List | [[cdk.support/lookup-entry]] | `:events` | | `name` | java.lang.String | [[cdk.support/lookup-entry]] | `:name` |
(build-cfn-repository-s3-property-builder builder id config)
The build-cfn-repository-s3-property-builder function updates a CfnRepository$S3Property$Builder instance using the provided configuration. The function takes the CfnRepository$S3Property$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself.
Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value:
Field | DataType | Lookup Function | Data Key |
---|---|---|---|
bucket | java.lang.String | cdk.support/lookup-entry | :bucket |
key | java.lang.String | cdk.support/lookup-entry | :key |
objectVersion | java.lang.String | cdk.support/lookup-entry | :object-version |
The build-cfn-repository-s3-property-builder function updates a CfnRepository$S3Property$Builder instance using the provided configuration. The function takes the CfnRepository$S3Property$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself. Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value: | Field | DataType | Lookup Function | Data Key | |---|---|---|---| | `bucket` | java.lang.String | [[cdk.support/lookup-entry]] | `:bucket` | | `key` | java.lang.String | [[cdk.support/lookup-entry]] | `:key` | | `objectVersion` | java.lang.String | [[cdk.support/lookup-entry]] | `:object-version` |
(build-code-config-builder builder id config)
The build-code-config-builder function updates a CodeConfig$Builder instance using the provided configuration. The function takes the CodeConfig$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself.
Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value:
Field | DataType | Lookup Function | Data Key |
---|---|---|---|
code | software.amazon.awscdk.services.codecommit.CfnRepository$CodeProperty | cdk.support/lookup-entry | :code |
The build-code-config-builder function updates a CodeConfig$Builder instance using the provided configuration. The function takes the CodeConfig$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself. Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value: | Field | DataType | Lookup Function | Data Key | |---|---|---|---| | `code` | software.amazon.awscdk.services.codecommit.CfnRepository$CodeProperty | [[cdk.support/lookup-entry]] | `:code` |
(build-on-commit-options-builder builder id config)
The build-on-commit-options-builder function updates a OnCommitOptions$Builder instance using the provided configuration. The function takes the OnCommitOptions$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself.
Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value:
Field | DataType | Lookup Function | Data Key |
---|---|---|---|
branches | java.util.List | cdk.support/lookup-entry | :branches |
crossStackScope | software.constructs.Construct | cdk.support/lookup-entry | :cross-stack-scope |
description | java.lang.String | cdk.support/lookup-entry | :description |
eventPattern | software.amazon.awscdk.services.events.EventPattern | cdk.support/lookup-entry | :event-pattern |
ruleName | java.lang.String | cdk.support/lookup-entry | :rule-name |
target | software.amazon.awscdk.services.events.IRuleTarget | cdk.support/lookup-entry | :target |
The build-on-commit-options-builder function updates a OnCommitOptions$Builder instance using the provided configuration. The function takes the OnCommitOptions$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself. Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value: | Field | DataType | Lookup Function | Data Key | |---|---|---|---| | `branches` | java.util.List | [[cdk.support/lookup-entry]] | `:branches` | | `crossStackScope` | software.constructs.Construct | [[cdk.support/lookup-entry]] | `:cross-stack-scope` | | `description` | java.lang.String | [[cdk.support/lookup-entry]] | `:description` | | `eventPattern` | software.amazon.awscdk.services.events.EventPattern | [[cdk.support/lookup-entry]] | `:event-pattern` | | `ruleName` | java.lang.String | [[cdk.support/lookup-entry]] | `:rule-name` | | `target` | software.amazon.awscdk.services.events.IRuleTarget | [[cdk.support/lookup-entry]] | `:target` |
(build-repository-builder builder id config)
The build-repository-builder function updates a Repository$Builder instance using the provided configuration. The function takes the Repository$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself.
Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value:
Field | DataType | Lookup Function | Data Key |
---|---|---|---|
code | software.amazon.awscdk.services.codecommit.Code | cdk.support/lookup-entry | :code |
description | java.lang.String | cdk.support/lookup-entry | :description |
kmsKey | software.amazon.awscdk.services.kms.IKey | cdk.support/lookup-entry | :kms-key |
repositoryName | java.lang.String | cdk.support/lookup-entry | :repository-name |
The build-repository-builder function updates a Repository$Builder instance using the provided configuration. The function takes the Repository$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself. Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value: | Field | DataType | Lookup Function | Data Key | |---|---|---|---| | `code` | software.amazon.awscdk.services.codecommit.Code | [[cdk.support/lookup-entry]] | `:code` | | `description` | java.lang.String | [[cdk.support/lookup-entry]] | `:description` | | `kmsKey` | software.amazon.awscdk.services.kms.IKey | [[cdk.support/lookup-entry]] | `:kms-key` | | `repositoryName` | java.lang.String | [[cdk.support/lookup-entry]] | `:repository-name` |
(build-repository-notify-on-options-builder builder id config)
The build-repository-notify-on-options-builder function updates a RepositoryNotifyOnOptions$Builder instance using the provided configuration. The function takes the RepositoryNotifyOnOptions$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself.
Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value:
Field | DataType | Lookup Function | Data Key |
---|---|---|---|
detailType | software.amazon.awscdk.services.codestarnotifications.DetailType | cdk.api.services.codestarnotifications/detail-type | :detail-type |
enabled | java.lang.Boolean | cdk.support/lookup-entry | :enabled |
events | java.util.List | cdk.support/lookup-entry | :events |
notificationRuleName | java.lang.String | cdk.support/lookup-entry | :notification-rule-name |
The build-repository-notify-on-options-builder function updates a RepositoryNotifyOnOptions$Builder instance using the provided configuration. The function takes the RepositoryNotifyOnOptions$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself. Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value: | Field | DataType | Lookup Function | Data Key | |---|---|---|---| | `detailType` | software.amazon.awscdk.services.codestarnotifications.DetailType | [[cdk.api.services.codestarnotifications/detail-type]] | `:detail-type` | | `enabled` | java.lang.Boolean | [[cdk.support/lookup-entry]] | `:enabled` | | `events` | java.util.List | [[cdk.support/lookup-entry]] | `:events` | | `notificationRuleName` | java.lang.String | [[cdk.support/lookup-entry]] | `:notification-rule-name` |
(build-repository-props-builder builder id config)
The build-repository-props-builder function updates a RepositoryProps$Builder instance using the provided configuration. The function takes the RepositoryProps$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself.
Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value:
Field | DataType | Lookup Function | Data Key |
---|---|---|---|
code | software.amazon.awscdk.services.codecommit.Code | cdk.support/lookup-entry | :code |
description | java.lang.String | cdk.support/lookup-entry | :description |
kmsKey | software.amazon.awscdk.services.kms.IKey | cdk.support/lookup-entry | :kms-key |
repositoryName | java.lang.String | cdk.support/lookup-entry | :repository-name |
The build-repository-props-builder function updates a RepositoryProps$Builder instance using the provided configuration. The function takes the RepositoryProps$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself. Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value: | Field | DataType | Lookup Function | Data Key | |---|---|---|---| | `code` | software.amazon.awscdk.services.codecommit.Code | [[cdk.support/lookup-entry]] | `:code` | | `description` | java.lang.String | [[cdk.support/lookup-entry]] | `:description` | | `kmsKey` | software.amazon.awscdk.services.kms.IKey | [[cdk.support/lookup-entry]] | `:kms-key` | | `repositoryName` | java.lang.String | [[cdk.support/lookup-entry]] | `:repository-name` |
(build-repository-trigger-options-builder builder id config)
The build-repository-trigger-options-builder function updates a RepositoryTriggerOptions$Builder instance using the provided configuration. The function takes the RepositoryTriggerOptions$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself.
Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value:
Field | DataType | Lookup Function | Data Key |
---|---|---|---|
branches | java.util.List | cdk.support/lookup-entry | :branches |
customData | java.lang.String | cdk.support/lookup-entry | :custom-data |
events | java.util.List | cdk.support/lookup-entry | :events |
name | java.lang.String | cdk.support/lookup-entry | :name |
The build-repository-trigger-options-builder function updates a RepositoryTriggerOptions$Builder instance using the provided configuration. The function takes the RepositoryTriggerOptions$Builder instance, an optional namespace to use when looking up a value in the configuration, and the configuration itself. Fields on the builder are populated by looking up their respective data key, where the namespaced value takes precendence over the non-namespaced value: | Field | DataType | Lookup Function | Data Key | |---|---|---|---| | `branches` | java.util.List | [[cdk.support/lookup-entry]] | `:branches` | | `customData` | java.lang.String | [[cdk.support/lookup-entry]] | `:custom-data` | | `events` | java.util.List | [[cdk.support/lookup-entry]] | `:events` | | `name` | java.lang.String | [[cdk.support/lookup-entry]] | `:name` |
(cfn-repository-builder scope id config)
Creates a CfnRepository$Builder
instance using a scope and ID, applies the data configuration, then builds it. Takes the following arguments:
| Argument | DataType | Description |
|---|---|---|
| scope | software.constructs.Construct | The parent scope construct of the object being built. |
| id | String or Keyword or Symbol | Value to use as both the ID of the object being build and the namespace when looking up configuration values. |
| config | map | Data configuration |
Creates a `CfnRepository$Builder` instance using a scope and ID, applies the data configuration, then builds it. Takes the following arguments: | Argument | DataType | Description | |---|---|---| | scope | software.constructs.Construct | The parent scope construct of the object being built. | | id | String or Keyword or Symbol | Value to use as both the ID of the object being build and the namespace when looking up configuration values. | | config | map | Data configuration |
(cfn-repository-code-property-builder id config)
Creates a CfnRepository$CodeProperty$Builder
instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments:
Argument | DataType | Description |
---|---|---|
id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. |
config | map | Data configuration |
Creates a `CfnRepository$CodeProperty$Builder` instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments: | Argument | DataType | Description | |---|---|---| | id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. | | config | map | Data configuration |
(cfn-repository-props-builder id config)
Creates a CfnRepositoryProps$Builder
instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments:
Argument | DataType | Description |
---|---|---|
id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. |
config | map | Data configuration |
Creates a `CfnRepositoryProps$Builder` instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments: | Argument | DataType | Description | |---|---|---| | id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. | | config | map | Data configuration |
(cfn-repository-repository-trigger-property-builder id config)
Creates a CfnRepository$RepositoryTriggerProperty$Builder
instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments:
Argument | DataType | Description |
---|---|---|
id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. |
config | map | Data configuration |
Creates a `CfnRepository$RepositoryTriggerProperty$Builder` instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments: | Argument | DataType | Description | |---|---|---| | id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. | | config | map | Data configuration |
(cfn-repository-s3-property-builder id config)
Creates a CfnRepository$S3Property$Builder
instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments:
Argument | DataType | Description |
---|---|---|
id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. |
config | map | Data configuration |
Creates a `CfnRepository$S3Property$Builder` instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments: | Argument | DataType | Description | |---|---|---| | id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. | | config | map | Data configuration |
(code-config-builder id config)
Creates a CodeConfig$Builder
instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments:
Argument | DataType | Description |
---|---|---|
id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. |
config | map | Data configuration |
Creates a `CodeConfig$Builder` instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments: | Argument | DataType | Description | |---|---|---| | id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. | | config | map | Data configuration |
(on-commit-options-builder id config)
Creates a OnCommitOptions$Builder
instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments:
Argument | DataType | Description |
---|---|---|
id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. |
config | map | Data configuration |
Creates a `OnCommitOptions$Builder` instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments: | Argument | DataType | Description | |---|---|---| | id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. | | config | map | Data configuration |
(repository-builder scope id config)
Creates a Repository$Builder
instance using a scope and ID, applies the data configuration, then builds it. Takes the following arguments:
| Argument | DataType | Description |
|---|---|---|
| scope | software.constructs.Construct | The parent scope construct of the object being built. |
| id | String or Keyword or Symbol | Value to use as both the ID of the object being build and the namespace when looking up configuration values. |
| config | map | Data configuration |
Creates a `Repository$Builder` instance using a scope and ID, applies the data configuration, then builds it. Takes the following arguments: | Argument | DataType | Description | |---|---|---| | scope | software.constructs.Construct | The parent scope construct of the object being built. | | id | String or Keyword or Symbol | Value to use as both the ID of the object being build and the namespace when looking up configuration values. | | config | map | Data configuration |
(repository-event-trigger config id item-key)
The repository-event-trigger
function data interprets values in the provided config data into a
RepositoryEventTrigger
instance. This simplifies the use of keywords in place of actual enum values in
the configuration provided to builders. The value is found using the cdk.support/lookup-entry
function on the data with the provided namespace id and item-key. The found value is interpretted as follows:
RepositoryEventTrigger
- the value is returned.:delete-ref
- RepositoryEventTrigger/DELETE_REF
is returned:create-ref
- RepositoryEventTrigger/CREATE_REF
is returned:all
- RepositoryEventTrigger/ALL
is returned:update-ref
- RepositoryEventTrigger/UPDATE_REF
is returnedIf a value is not found or matches the above criteria, nil is returned.
The `repository-event-trigger` function data interprets values in the provided config data into a `RepositoryEventTrigger` instance. This simplifies the use of keywords in place of actual enum values in the configuration provided to builders. The value is found using the `cdk.support/lookup-entry` function on the data with the provided namespace id and item-key. The found value is interpretted as follows: * instance of `RepositoryEventTrigger` - the value is returned. * is `:delete-ref` - `RepositoryEventTrigger/DELETE_REF` is returned * is `:create-ref` - `RepositoryEventTrigger/CREATE_REF` is returned * is `:all` - `RepositoryEventTrigger/ALL` is returned * is `:update-ref` - `RepositoryEventTrigger/UPDATE_REF` is returned If a value is not found or matches the above criteria, nil is returned.
(repository-notification-events config id item-key)
The repository-notification-events
function data interprets values in the provided config data into a
RepositoryNotificationEvents
instance. This simplifies the use of keywords in place of actual enum values in
the configuration provided to builders. The value is found using the cdk.support/lookup-entry
function on the data with the provided namespace id and item-key. The found value is interpretted as follows:
RepositoryNotificationEvents
- the value is returned.:pull-request-created
- RepositoryNotificationEvents/PULL_REQUEST_CREATED
is returned:approval-status-changed
- RepositoryNotificationEvents/APPROVAL_STATUS_CHANGED
is returned:branch-or-tag-deleted
- RepositoryNotificationEvents/BRANCH_OR_TAG_DELETED
is returned:commit-comment
- RepositoryNotificationEvents/COMMIT_COMMENT
is returned:pull-request-source-updated
- RepositoryNotificationEvents/PULL_REQUEST_SOURCE_UPDATED
is returned:pull-request-status-changed
- RepositoryNotificationEvents/PULL_REQUEST_STATUS_CHANGED
is returned:branch-or-tag-updated
- RepositoryNotificationEvents/BRANCH_OR_TAG_UPDATED
is returned:branch-or-tag-created
- RepositoryNotificationEvents/BRANCH_OR_TAG_CREATED
is returned:pull-request-merged
- RepositoryNotificationEvents/PULL_REQUEST_MERGED
is returned:approval-rule-overridden
- RepositoryNotificationEvents/APPROVAL_RULE_OVERRIDDEN
is returned:pull-request-comment
- RepositoryNotificationEvents/PULL_REQUEST_COMMENT
is returnedIf a value is not found or matches the above criteria, nil is returned.
The `repository-notification-events` function data interprets values in the provided config data into a `RepositoryNotificationEvents` instance. This simplifies the use of keywords in place of actual enum values in the configuration provided to builders. The value is found using the `cdk.support/lookup-entry` function on the data with the provided namespace id and item-key. The found value is interpretted as follows: * instance of `RepositoryNotificationEvents` - the value is returned. * is `:pull-request-created` - `RepositoryNotificationEvents/PULL_REQUEST_CREATED` is returned * is `:approval-status-changed` - `RepositoryNotificationEvents/APPROVAL_STATUS_CHANGED` is returned * is `:branch-or-tag-deleted` - `RepositoryNotificationEvents/BRANCH_OR_TAG_DELETED` is returned * is `:commit-comment` - `RepositoryNotificationEvents/COMMIT_COMMENT` is returned * is `:pull-request-source-updated` - `RepositoryNotificationEvents/PULL_REQUEST_SOURCE_UPDATED` is returned * is `:pull-request-status-changed` - `RepositoryNotificationEvents/PULL_REQUEST_STATUS_CHANGED` is returned * is `:branch-or-tag-updated` - `RepositoryNotificationEvents/BRANCH_OR_TAG_UPDATED` is returned * is `:branch-or-tag-created` - `RepositoryNotificationEvents/BRANCH_OR_TAG_CREATED` is returned * is `:pull-request-merged` - `RepositoryNotificationEvents/PULL_REQUEST_MERGED` is returned * is `:approval-rule-overridden` - `RepositoryNotificationEvents/APPROVAL_RULE_OVERRIDDEN` is returned * is `:pull-request-comment` - `RepositoryNotificationEvents/PULL_REQUEST_COMMENT` is returned If a value is not found or matches the above criteria, nil is returned.
(repository-notify-on-options-builder id config)
Creates a RepositoryNotifyOnOptions$Builder
instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments:
Argument | DataType | Description |
---|---|---|
id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. |
config | map | Data configuration |
Creates a `RepositoryNotifyOnOptions$Builder` instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments: | Argument | DataType | Description | |---|---|---| | id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. | | config | map | Data configuration |
(repository-props-builder id config)
Creates a RepositoryProps$Builder
instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments:
Argument | DataType | Description |
---|---|---|
id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. |
config | map | Data configuration |
Creates a `RepositoryProps$Builder` instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments: | Argument | DataType | Description | |---|---|---| | id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. | | config | map | Data configuration |
(repository-trigger-options-builder id config)
Creates a RepositoryTriggerOptions$Builder
instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments:
Argument | DataType | Description |
---|---|---|
id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. |
config | map | Data configuration |
Creates a `RepositoryTriggerOptions$Builder` instance using a no-argument constructor, applies the data configuration, then builds it. Takes the following arguments: | Argument | DataType | Description | |---|---|---| | id | String or Keyword or Symbol | Value to use as namespace when looking up configuration values. | | config | map | Data configuration |
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close