Class ReferenceEvent
Fields of CloudWatch Events that change references.
Inheritance
Namespace: Amazon.CDK.AWS.CodeCommit
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ReferenceEvent : DeputyBase
Syntax (vb)
Public Class ReferenceEvent
Inherits DeputyBase
Remarks
See: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html#codebuild_event_type
Synopsis
Constructors
ReferenceEvent(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ReferenceEvent(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CommitId | Commit id this reference now points to. |
EventType | The type of reference event. |
ReferenceFullName | Full reference name. |
ReferenceName | Name of reference changed (branch or tag name). |
ReferenceType | Type of reference changed. |
RepositoryId | Id of the CodeCommit repository. |
RepositoryName | Name of the CodeCommit repository. |
Constructors
ReferenceEvent(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ReferenceEvent(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ReferenceEvent(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ReferenceEvent(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
CommitId
Commit id this reference now points to.
public static string CommitId { get; }
Property Value
System.String
EventType
The type of reference event.
public static string EventType { get; }
Property Value
System.String
Remarks
'referenceCreated', 'referenceUpdated' or 'referenceDeleted'
ReferenceFullName
Full reference name.
public static string ReferenceFullName { get; }
Property Value
System.String
Remarks
For example, 'refs/tags/myTag'
ReferenceName
Name of reference changed (branch or tag name).
public static string ReferenceName { get; }
Property Value
System.String
ReferenceType
Type of reference changed.
public static string ReferenceType { get; }
Property Value
System.String
Remarks
'branch' or 'tag'
RepositoryId
Id of the CodeCommit repository.
public static string RepositoryId { get; }
Property Value
System.String
RepositoryName
Name of the CodeCommit repository.
public static string RepositoryName { get; }
Property Value
System.String