Skip to content
v2.278.0

S3SourceVariables ​

Struct Stable

The CodePipeline variables emitted by the S3 source Action.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline_actions as codepipeline_actions } from 'aws-cdk-lib';
const s3SourceVariables: codepipeline_actions.S3SourceVariables = {
  eTag: 'eTag',
  versionId: 'versionId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codepipeline_actions as codepipeline_actions

s3_source_variables = codepipeline_actions.S3SourceVariables(
    e_tag="eTag",
    version_id="versionId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codepipeline.actions.*;

S3SourceVariables s3SourceVariables = S3SourceVariables.builder()
        .eTag("eTag")
        .versionId("versionId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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;

var s3SourceVariables = new S3SourceVariables {
    ETag = "eTag",
    VersionId = "versionId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

s3SourceVariables := &S3SourceVariables{
	ETag: jsii.String("eTag"),
	VersionId: jsii.String("versionId"),
}

Properties ​

eTagstringe_tagstreTagStringETagstringETag*string required #
The e-tag of the S3 version of the object that triggered the build.
versionIdstringversion_idstrversionIdStringVersionIdstringVersionId*string required #
The identifier of the S3 version of the object that triggered the build.