Class PublishAssetsActionProps
(deprecated) Props for a PublishAssetsAction.
Inheritance
Implements
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Pipelines.dll
Syntax (csharp)
public class PublishAssetsActionProps : Object, IPublishAssetsActionProps
Syntax (vb)
Public Class PublishAssetsActionProps
Inherits Object
Implements IPublishAssetsActionProps
Remarks
Stability: Deprecated
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeBuild;
using Amazon.CDK.AWS.CodePipeline;
using Amazon.CDK.AWS.EC2;
using Amazon.CDK.AWS.IAM;
using Amazon.CDK;
using Amazon.CDK.Pipelines;
Artifact artifact;
BuildSpec buildSpec;
IDependable dependable;
Role role;
Subnet subnet;
SubnetFilter subnetFilter;
Vpc vpc;
var publishAssetsActionProps = new PublishAssetsActionProps {
ActionName = "actionName",
AssetType = AssetType.FILE,
CloudAssemblyInput = artifact,
// the properties below are optional
BuildSpec = buildSpec,
CdkCliVersion = "cdkCliVersion",
CreateBuildspecFile = false,
Dependable = dependable,
PreInstallCommands = new [] { "preInstallCommands" },
ProjectName = "projectName",
Role = role,
SubnetSelection = new SubnetSelection {
AvailabilityZones = new [] { "availabilityZones" },
OnePerAz = false,
SubnetFilters = new [] { subnetFilter },
SubnetGroupName = "subnetGroupName",
SubnetName = "subnetName",
Subnets = new [] { subnet },
SubnetType = SubnetType.ISOLATED
},
Vpc = vpc
};
Synopsis
Constructors
PublishAssetsActionProps() |
Properties
ActionName | (deprecated) Name of publishing action. |
AssetType | (deprecated) AssetType we're publishing. |
BuildSpec | (deprecated) Custom BuildSpec that is merged with generated one. |
CdkCliVersion | (deprecated) Version of CDK CLI to 'npm install'. |
CloudAssemblyInput | (deprecated) The CodePipeline artifact that holds the Cloud Assembly. |
CreateBuildspecFile | (deprecated) Use a file buildspec written to the cloud assembly instead of an inline buildspec. |
Dependable | (deprecated) Any Dependable construct that the CodeBuild project needs to take a dependency on. |
PreInstallCommands | (deprecated) Additional commands to run before installing cdk-assert Use this to setup proxies or npm mirrors. |
ProjectName | (deprecated) Name of the CodeBuild project. |
Role | (deprecated) Role to use for CodePipeline and CodeBuild to build and publish the assets. |
SubnetSelection | (deprecated) Which subnets to use. |
Vpc | (deprecated) The VPC where to execute the PublishAssetsAction. |
Constructors
PublishAssetsActionProps()
public PublishAssetsActionProps()
Properties
ActionName
(deprecated) Name of publishing action.
public string ActionName { get; set; }
Property Value
System.String
Remarks
Stability: Deprecated
AssetType
(deprecated) AssetType we're publishing.
public AssetType AssetType { get; set; }
Property Value
Remarks
Stability: Deprecated
BuildSpec
(deprecated) Custom BuildSpec that is merged with generated one.
public BuildSpec BuildSpec { get; set; }
Property Value
Remarks
Default: - none
Stability: Deprecated
CdkCliVersion
(deprecated) Version of CDK CLI to 'npm install'.
public string CdkCliVersion { get; set; }
Property Value
System.String
Remarks
Default: - Latest version
Stability: Deprecated
CloudAssemblyInput
(deprecated) The CodePipeline artifact that holds the Cloud Assembly.
public Artifact_ CloudAssemblyInput { get; set; }
Property Value
Remarks
Stability: Deprecated
CreateBuildspecFile
(deprecated) Use a file buildspec written to the cloud assembly instead of an inline buildspec.
public Nullable<bool> CreateBuildspecFile { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
This prevents size limitation errors as inline specs have a max length of 25600 characters
Default: false
Stability: Deprecated
Dependable
(deprecated) Any Dependable construct that the CodeBuild project needs to take a dependency on.
public IDependable Dependable { get; set; }
Property Value
Remarks
Default: - none
Stability: Deprecated
PreInstallCommands
(deprecated) Additional commands to run before installing cdk-assert Use this to setup proxies or npm mirrors.
public string[] PreInstallCommands { get; set; }
Property Value
System.String[]
Remarks
Default: -
Stability: Deprecated
ProjectName
(deprecated) Name of the CodeBuild project.
public string ProjectName { get; set; }
Property Value
System.String
Remarks
Default: - Automatically generated
Stability: Deprecated
Role
(deprecated) Role to use for CodePipeline and CodeBuild to build and publish the assets.
public IRole Role { get; set; }
Property Value
Remarks
Default: - Automatically generated
Stability: Deprecated
SubnetSelection
(deprecated) Which subnets to use.
public ISubnetSelection SubnetSelection { get; set; }
Property Value
Remarks
Only used if 'vpc' is supplied.
Default: - All private subnets.
Stability: Deprecated
Vpc
(deprecated) The VPC where to execute the PublishAssetsAction.
public IVpc Vpc { get; set; }
Property Value
Remarks
Default: - No VPC
Stability: Deprecated