Package software.amazon.awscdk.pipelines
Interface PublishAssetsActionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PublishAssetsActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.864Z")
@Stability(Deprecated)
@Deprecated
public interface PublishAssetsActionProps
extends software.amazon.jsii.JsiiSerializable
Deprecated.
(deprecated) Props for a PublishAssetsAction.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codebuild.*;
import software.amazon.awscdk.services.codepipeline.*;
import software.amazon.awscdk.services.ec2.*;
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.pipelines.*;
Artifact artifact;
BuildSpec buildSpec;
IDependable dependable;
Role role;
Subnet subnet;
SubnetFilter subnetFilter;
Vpc vpc;
PublishAssetsActionProps publishAssetsActionProps = PublishAssetsActionProps.builder()
.actionName("actionName")
.assetType(AssetType.FILE)
.cloudAssemblyInput(artifact)
// the properties below are optional
.buildSpec(buildSpec)
.cdkCliVersion("cdkCliVersion")
.createBuildspecFile(false)
.dependable(dependable)
.preInstallCommands(List.of("preInstallCommands"))
.projectName("projectName")
.role(role)
.subnetSelection(SubnetSelection.builder()
.availabilityZones(List.of("availabilityZones"))
.onePerAz(false)
.subnetFilters(List.of(subnetFilter))
.subnetGroupName("subnetGroupName")
.subnetName("subnetName")
.subnets(List.of(subnet))
.subnetType(SubnetType.ISOLATED)
.build())
.vpc(vpc)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classDeprecated.static final classDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Deprecated.Deprecated.Deprecated.default BuildSpecDeprecated.default StringDeprecated.Deprecated.default BooleanDeprecated.default IDependableDeprecated.Deprecated.default StringDeprecated.default IRolegetRole()Deprecated.default SubnetSelectionDeprecated.default IVpcgetVpc()Deprecated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionName
Deprecated.(deprecated) Name of publishing action. -
getAssetType
Deprecated.(deprecated) AssetType we're publishing. -
getCloudAssemblyInput
Deprecated.(deprecated) The CodePipeline artifact that holds the Cloud Assembly. -
getBuildSpec
Deprecated.(deprecated) Custom BuildSpec that is merged with generated one.Default: - none
-
getCdkCliVersion
Deprecated.(deprecated) Version of CDK CLI to 'npm install'.Default: - Latest version
-
getCreateBuildspecFile
Deprecated.(deprecated) Use a file buildspec written to the cloud assembly instead of an inline buildspec.This prevents size limitation errors as inline specs have a max length of 25600 characters
Default: false
-
getDependable
Deprecated.(deprecated) Any Dependable construct that the CodeBuild project needs to take a dependency on.Default: - none
-
getPreInstallCommands
Deprecated.(deprecated) Additional commands to run before installing cdk-assert Use this to setup proxies or npm mirrors.Default: -
-
getProjectName
Deprecated.(deprecated) Name of the CodeBuild project.Default: - Automatically generated
-
getRole
Deprecated.(deprecated) Role to use for CodePipeline and CodeBuild to build and publish the assets.Default: - Automatically generated
-
getSubnetSelection
Deprecated.(deprecated) Which subnets to use.Only used if 'vpc' is supplied.
Default: - All private subnets.
-
getVpc
Deprecated.(deprecated) The VPC where to execute the PublishAssetsAction.Default: - No VPC
-
builder
Deprecated.- Returns:
- a
PublishAssetsActionProps.BuilderofPublishAssetsActionProps
-
CodePipelineclass instead