@Generated(value="jsii-pacmak/0.7.12 (build 82990c5)", date="2018-12-13T10:25:20.481Z") 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 |
|---|---|
ArtifactPath |
atPath(String fileName)
Returns an ArtifactPath for a file within this artifact.
|
String |
getBucketName()
The artifact attribute for the name of the S3 bucket where the artifact is stored.
|
String |
getName() |
String |
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.
|
String |
getParam(String jsonFile,
String keyName)
Returns a token for a value inside a JSON file within this artifact.
|
String |
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.
|
String |
toString()
Returns a string representation of this construct.
|
addChild, addError, addInfo, addMetadata, addMetadata, addWarning, ancestors, ancestors, findChild, getChildren, getContext, getId, getLocked, getMetadata, getParent, getPath, getUniqueId, lock, requireContext, required, setContext, toTreeString, toTreeString, tryFindChild, unlock, validate, validateTreeprotected Artifact(software.amazon.jsii.JsiiObject.InitializationMode mode)
public ArtifactPath atPath(String fileName)
fileName - The name of the filepublic String getParam(String jsonFile, String keyName)
jsonFile - The JSON file name.keyName - The hash key.public String toString()
toString in class software.amazon.awscdk.Constructpublic String getBucketName()
public String getName()
public String getObjectKey()
public String getUrl()
Copyright © 2018. All rights reserved.