Class S3DeployAction
Deploys the sourceArtifact to Amazon S3.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CodePipeline.Actions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class S3DeployAction : Action, IAction
Syntax (vb)
Public Class S3DeployAction
Inherits Action
Implements IAction
Remarks
ExampleMetadata: infused
Examples
S3SourceAction sourceAction;
Artifact sourceOutput;
Bucket deployBucket;
new Pipeline(this, "Pipeline", new PipelineProps {
Stages = new [] { new StageProps {
StageName = "Source",
Actions = new [] { sourceAction }
}, new StageProps {
StageName = "Deploy",
Actions = new [] {
new S3DeployAction(new S3DeployActionProps {
ActionName = "DeployAction",
// can reference the variables
ObjectKey = $"{sourceAction.variables.versionId}.txt",
Input = sourceOutput,
Bucket = deployBucket
}) }
} }
});
Synopsis
Constructors
S3DeployAction(IS3DeployActionProps) | |
S3DeployAction(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
S3DeployAction(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bound(Construct, IStage, IActionBindOptions) | This is a renamed version of the |
Constructors
S3DeployAction(IS3DeployActionProps)
S3DeployAction(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected S3DeployAction(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
S3DeployAction(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected S3DeployAction(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bound(Construct, IStage, IActionBindOptions)
This is a renamed version of the IAction.bind
method.
protected override IActionConfig Bound(Construct scope, IStage stage, IActionBindOptions options)
Parameters
- scope Constructs.Construct
- stage IStage
- options IActionBindOptions
Returns