Class GitHubWorkflowProps.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.cdkpipelines.github.GitHubWorkflowProps.Jsii$Proxy
-
- All Implemented Interfaces:
GitHubWorkflowProps,software.amazon.awscdk.pipelines.PipelineBaseProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- GitHubWorkflowProps
@Stability(Stable) @Internal public static final class GitHubWorkflowProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GitHubWorkflowProps
An implementation forGitHubWorkflowProps
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.cdkpipelines.github.GitHubWorkflowProps
GitHubWorkflowProps.Builder, GitHubWorkflowProps.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(GitHubWorkflowProps.Builder builder)Constructor that initializes the object based on literal property values passed by theGitHubWorkflowProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)AwsCredentialsSecretsgetAwsCredentials()Names of GitHub repository secrets that include AWS credentials for deployment.ContainerOptionsgetBuildContainer()Build container options.StringgetCdkCliVersion()Version of the CDK CLI to use.List<DockerCredential>getDockerCredentials()The Docker Credentials to use to login.StringgetGitHubActionRoleArn()A role that utilizes the GitHub OIDC Identity Provider in your AWS account.List<JobStep>getPostBuildSteps()GitHub workflow steps to execute after build.List<JobStep>getPreBuildSteps()GitHub workflow steps to execute before build.BooleangetPreSynthed()Indicates if the repository already contains a synthesized `cdk.out` directory, in which case we will simply checkout the repo in jobs that require `cdk.out`.StringgetPublishAssetsAuthRegion()Will assume the GitHubActionRole in this region when publishing assets.RunnergetRunner()The type of runner to run the job on.software.amazon.awscdk.pipelines.IFileSetProducergetSynth()StringgetWorkflowName()Name of the workflow.StringgetWorkflowPath()File path for the GitHub workflow.WorkflowTriggersgetWorkflowTriggers()GitHub workflow triggers.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(GitHubWorkflowProps.Builder builder)
Constructor that initializes the object based on literal property values passed by theGitHubWorkflowProps.Builder.
-
-
Method Detail
-
getAwsCredentials
public final AwsCredentialsSecrets getAwsCredentials()
Description copied from interface:GitHubWorkflowPropsNames of GitHub repository secrets that include AWS credentials for deployment.Default: - `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.
- Specified by:
getAwsCredentialsin interfaceGitHubWorkflowProps
-
getBuildContainer
public final ContainerOptions getBuildContainer()
Description copied from interface:GitHubWorkflowPropsBuild container options.Default: - GitHub defaults
- Specified by:
getBuildContainerin interfaceGitHubWorkflowProps
-
getCdkCliVersion
public final String getCdkCliVersion()
Description copied from interface:GitHubWorkflowPropsVersion of the CDK CLI to use.Default: - automatic
- Specified by:
getCdkCliVersionin interfaceGitHubWorkflowProps
-
getDockerCredentials
public final List<DockerCredential> getDockerCredentials()
Description copied from interface:GitHubWorkflowPropsThe Docker Credentials to use to login.If you set this variable, you will be logged in to docker when you upload Docker Assets.
- Specified by:
getDockerCredentialsin interfaceGitHubWorkflowProps
-
getGitHubActionRoleArn
public final String getGitHubActionRoleArn()
Description copied from interface:GitHubWorkflowPropsA role that utilizes the GitHub OIDC Identity Provider in your AWS account.If supplied, this will be used instead of
awsCredentials.You can create your own role in the console with the necessary trust policy to allow gitHub actions from your gitHub repository to assume the role, or you can utilize the
GitHubActionRoleconstruct to create a role for you.Default: - GitHub repository secrets are used instead of OpenId Connect role.
- Specified by:
getGitHubActionRoleArnin interfaceGitHubWorkflowProps
-
getPostBuildSteps
public final List<JobStep> getPostBuildSteps()
Description copied from interface:GitHubWorkflowPropsGitHub workflow steps to execute after build.Default: []
- Specified by:
getPostBuildStepsin interfaceGitHubWorkflowProps
-
getPreBuildSteps
public final List<JobStep> getPreBuildSteps()
Description copied from interface:GitHubWorkflowPropsGitHub workflow steps to execute before build.Default: []
- Specified by:
getPreBuildStepsin interfaceGitHubWorkflowProps
-
getPreSynthed
public final Boolean getPreSynthed()
Description copied from interface:GitHubWorkflowPropsIndicates if the repository already contains a synthesized `cdk.out` directory, in which case we will simply checkout the repo in jobs that require `cdk.out`.Default: false
- Specified by:
getPreSynthedin interfaceGitHubWorkflowProps
-
getPublishAssetsAuthRegion
public final String getPublishAssetsAuthRegion()
Description copied from interface:GitHubWorkflowPropsWill assume the GitHubActionRole in this region when publishing assets.This is NOT the region in which the assets are published.
In most cases, you do not have to worry about this property, and can safely ignore it.
Default: "us-west-2"
- Specified by:
getPublishAssetsAuthRegionin interfaceGitHubWorkflowProps
-
getRunner
public final Runner getRunner()
Description copied from interface:GitHubWorkflowPropsThe type of runner to run the job on.The runner can be either a GitHub-hosted runner or a self-hosted runner.
Default: Runner.UBUNTU_LATEST
- Specified by:
getRunnerin interfaceGitHubWorkflowProps
-
getWorkflowName
public final String getWorkflowName()
Description copied from interface:GitHubWorkflowPropsName of the workflow.Default: "deploy"
- Specified by:
getWorkflowNamein interfaceGitHubWorkflowProps
-
getWorkflowPath
public final String getWorkflowPath()
Description copied from interface:GitHubWorkflowPropsFile path for the GitHub workflow.Default: ".github/workflows/deploy.yml"
- Specified by:
getWorkflowPathin interfaceGitHubWorkflowProps
-
getWorkflowTriggers
public final WorkflowTriggers getWorkflowTriggers()
Description copied from interface:GitHubWorkflowPropsGitHub workflow triggers.Default: - By default, workflow is triggered on push to the `main` branch and can also be triggered manually (`workflow_dispatch`).
- Specified by:
getWorkflowTriggersin interfaceGitHubWorkflowProps
-
getSynth
public final software.amazon.awscdk.pipelines.IFileSetProducer getSynth()
- Specified by:
getSynthin interfacesoftware.amazon.awscdk.pipelines.PipelineBaseProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-