@Generated(value="jsii-pacmak/0.7.14 (build 91853ce)", date="2019-02-07T16:58:30.605Z") public class Artifact extends software.amazon.awscdk.Construct
| Modifier | Constructor and Description |
|---|---|
|
Artifact(Action scope,
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.
|
apply, getDependencyRoots, getNode, isConstruct, prepare, validateprotected 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 © 2019. All rights reserved.