Optional
props: anyProtected
definitionThe matching definition of the resource (including the Properties).
Protected
dependencyThe matching dependency keys of the resource (DependsOn).
Protected
keyThe matching key of the resource.
Protected
metadataThe matching Metadata of the resource.
Protected
propertiesThe matching Properties of the resource.
Protected
templateThe parsed template.
The matcher for the ARN of the resource.
Protected
definitionThe definition of the resource from the template.
if the resource is not found.
if more than one matching resource is found.
The key/ID of the resource from the template.
The matcher for the Ref of the resource.
Asserts the condition and in case of failure, fails with a detailed error containing the template's debug information.
if the condition is false.
The condition to evaluate for true.
The message to fail if the condition is false.
Sets a matching dependency of the resource (DependsOn root property).
The test construct to match dependency on.
Returns dictionary (object) of the matching resources from the template, considering the matching definition and the key, if set.
Returns the dictionary (object) of the resources with the same type as the current one.
Checks if the tag with the given name (and optionally value) exists on the resource.
if the tag is not found.
The exact name of the tag.
Optional
value: stringEither empty to check only for the tag or the exact value of the tag.
Sets matching credentials for BitBucket
The username
The password
Sets matching credential properties for the source credentials
The authentication type (exact match)
The server type (exact match)
The token (partial match)
Optional
username: stringThe username of the token (partial match)
Sets matching credentials for GitHub Enterprise
The GitHub access token
Sets matching credentials for GitHub
The GitHub access token
Sets/Overwrites a particular property in Metadata.
The key of the metadata.
Optional
value: anyThe metadata's value, either a matching string, a Matcher, or not set to only match for the existence of the property.
Sets the matching key.
The exact or partial key.
Sets/Overwrites a particular property in Properties.
The key of the property.
Optional
value: anyThe property's value, either a matching string, a Matcher, or not set to only match for the existence of the property.
Sets matching properties inferred from the RemovalPolicy (i.e. DeletionPolicy, UpdateReplacePolicy).
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.RemovalPolicy.html
The RemovalPolicy to match with.
Sets/Overwrites a particular property in the root definition.
The key of the property.
Optional
value: anyThe metadata's value, either a matching string, a Matcher, or not set to only match for the existence of the property.
Generated using TypeDoc
A test construct for CloudBuild Source Credentials resource
See
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.CfnSourceCredential.html