Interface ICodePipelineTargetOptions
Customization options when creating a CodePipeline
event target.
Inherited Members
Namespace: Amazon.CDK.AWS.Events.Targets
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICodePipelineTargetOptions : ITargetBaseProps
Syntax (vb)
Public Interface ICodePipelineTargetOptions
Inherits ITargetBaseProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Amazon.CDK.AWS.Events.Targets;
using Amazon.CDK.AWS.IAM;
using Amazon.CDK.AWS.SQS;
Queue queue;
Role role;
var codePipelineTargetOptions = new CodePipelineTargetOptions {
DeadLetterQueue = queue,
EventRole = role,
MaxEventAge = Duration.Minutes(30),
RetryAttempts = 123
};
Synopsis
Properties
Event |
The role to assume before invoking the target (i.e., the pipeline) when the given rule is triggered. |
Properties
EventRole
The role to assume before invoking the target (i.e., the pipeline) when the given rule is triggered.
virtual IRole EventRole { get; }
Property Value
Remarks
Default: - a new role will be created