@Generated(value="jsii-pacmak/0.7.6 (build 04cb6bb)", date="2018-09-27T21:49:26.396Z") public class Project extends ProjectRef
| Modifier | Constructor and Description |
|---|---|
|
Project(software.amazon.awscdk.Construct parent,
String name,
ProjectProps props) |
protected |
Project(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToRolePolicy(software.amazon.awscdk.PolicyStatement statement)
Add a permission only if there's a policy attached.
|
String |
getProjectArn()
The ARN of the project.
|
String |
getProjectName()
The name of the project.
|
software.amazon.awscdk.services.iam.Role |
getRole()
The IAM role for this project.
|
addBuildToPipeline, asEventRuleTarget, export, import_, metric, metricBuilds, metricBuilds, metricDuration, metricDuration, metricFailedBuilds, metricFailedBuilds, metricSucceededBuilds, metricSucceededBuilds, onBuildFailed, onBuildFailed, onBuildFailed, onBuildStarted, onBuildStarted, onBuildStarted, onBuildSucceeded, onBuildSucceeded, onBuildSucceeded, onPhaseChange, onPhaseChange, onPhaseChange, onStateChange, onStateChange, onStateChangeaddChild, addError, addInfo, addMetadata, addMetadata, addMetadata, addWarning, ancestors, ancestors, findChild, getChildren, getContext, getId, getLocked, getMetadata, getParent, getPath, getUniqueId, lock, requireContext, required, setContext, setContext, toString, toTreeString, toTreeString, tryFindChild, unlock, validate, validateTreeprotected Project(software.amazon.jsii.JsiiObject.InitializationMode mode)
public Project(software.amazon.awscdk.Construct parent,
String name,
ProjectProps props)
public void addToRolePolicy(software.amazon.awscdk.PolicyStatement statement)
statement - The permissions statement to addpublic String getProjectArn()
getProjectArn in class ProjectRefpublic String getProjectName()
getProjectName in class ProjectRef@Nullable public software.amazon.awscdk.services.iam.Role getRole()
getRole in class ProjectRefCopyright © 2018. All rights reserved.