Options for S3 sources.
Inheritance
S3SourceOptions
Implements
Inherited Members
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class S3SourceOptions : IS3SourceOptions
Syntax (vb)
Public Class S3SourceOptions Implements IS3SourceOptions
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodePipeline.Actions;
using Amazon.CDK.AWS.IAM;
using Amazon.CDK.Pipelines;
Role role;
var s3SourceOptions = new S3SourceOptions {
ActionName = "actionName",
Role = role,
Trigger = S3Trigger.NONE
};
Synopsis
Constructors
Properties
| ActionName | The action name used for this source in the CodePipeline. |
| Role | The role that will be assumed by the pipeline prior to executing the |
| Trigger | How should CodePipeline detect source changes for this Action. |
Constructors
S3SourceOptions()
Options for S3 sources.
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodePipeline.Actions;
using Amazon.CDK.AWS.IAM;
using Amazon.CDK.Pipelines;
Role role;
var s3SourceOptions = new S3SourceOptions {
ActionName = "actionName",
Role = role,
Trigger = S3Trigger.NONE
};
Properties
ActionName
The action name used for this source in the CodePipeline.
public string? ActionName { get; set; }
Property Value
Role
The role that will be assumed by the pipeline prior to executing the S3Source action.
public IRole? Role { get; set; }
Property Value
Trigger
How should CodePipeline detect source changes for this Action.
public S3Trigger? Trigger { get; set; }