@Generated(value="jsii-pacmak/0.7.4 (build e80a889)", date="2018-09-11T09:57:27.777Z") public class Artifact extends software.amazon.awscdk.Construct
| Modifier | Constructor and Description |
|---|---|
|
Artifact(Action parent,
String name) |
protected |
Artifact(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| Modifier and Type | Method and Description |
|---|---|
ArtifactAttribute |
getBucketName()
The artifact attribute for the name of the S3 bucket where the artifact is stored.
|
String |
getName() |
ArtifactAttribute |
getObjectKey()
The artifact attribute for The name of the .zip file that contains the artifact that is
generated by AWS CodePipeline, such as 1ABCyZZ.zip.
|
ArtifactGetParam |
getParam(String jsonFile,
String keyName)
Returns a token for a value inside a JSON file within this artifact.
|
ArtifactAttribute |
getUrl()
The artifact attribute of the Amazon Simple Storage Service (Amazon S3) URL of the artifact,
such as https://s3-us-west-2.amazonaws.com/artifactstorebucket-yivczw8jma0c/test/TemplateSo/1ABCyZZ.zip.
|
ArtifactPath |
subartifact(String fileName)
Returns an ArtifactPath for a file within this artifact.
|
String |
toString()
Returns a string representation of this construct.
|
addChild, addError, addInfo, addMetadata, addWarning, ancestors, ancestors, findChild, getChildren, getContext, getId, getMetadata, getParent, getPath, getUniqueId, lock, requireContext, required, setContext, toTreeString, tryFindChild, unlock, validate, validateTreeprotected Artifact(software.amazon.jsii.JsiiObject.InitializationMode mode)
public ArtifactGetParam getParam(String jsonFile, String keyName)
jsonFile - The JSON file name.keyName - The hash key.public ArtifactPath subartifact(String fileName)
fileName - The name of the filepublic String toString()
toString in class software.amazon.awscdk.Constructpublic ArtifactAttribute getBucketName()
public String getName()
public ArtifactAttribute getObjectKey()
public ArtifactAttribute getUrl()
Copyright © 2018. All rights reserved.