ActionBindOptions Struct
| Source | aws-codepipeline/lib/action.ts |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline as codepipeline } from 'aws-cdk-lib';
import { aws_iam as iam } from 'aws-cdk-lib';
import { aws_s3 as s3 } from 'aws-cdk-lib';
declare const bucket: s3.Bucket;
declare const role: iam.Role;
const actionBindOptions: codepipeline.ActionBindOptions = {
bucket: bucket,
role: role,
};
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 as codepipeline
from aws_cdk import aws_iam as iam
from aws_cdk import aws_s3 as s3
# bucket: s3.Bucket
# role: iam.Role
action_bind_options = codepipeline.ActionBindOptions(
bucket=bucket,
role=role
)
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.*;
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.services.s3.*;
Bucket bucket;
Role role;
ActionBindOptions actionBindOptions = ActionBindOptions.builder()
.bucket(bucket)
.role(role)
.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;
using Amazon.CDK.AWS.IAM;
using Amazon.CDK.AWS.S3;
Bucket bucket;
Role role;
var actionBindOptions = new ActionBindOptions {
Bucket = bucket,
Role = role
};
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"
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"
var bucket Bucket
var role Role
actionBindOptions := &ActionBindOptions{
Bucket: bucket,
Role: role,
}