Class 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 for GitHubWorkflowProps
    • 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.
    • Method Detail

      • getGitHubActionRoleArn

        public final String getGitHubActionRoleArn()
        Description copied from interface: GitHubWorkflowProps
        A 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 GitHubActionRole construct to create a role for you.

        Default: - GitHub repository secrets are used instead of OpenId Connect role.

        Specified by:
        getGitHubActionRoleArn in interface GitHubWorkflowProps
      • getPreSynthed

        public final Boolean getPreSynthed()
        Description copied from interface: GitHubWorkflowProps
        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`.

        Default: false

        Specified by:
        getPreSynthed in interface GitHubWorkflowProps
      • getPublishAssetsAuthRegion

        public final String getPublishAssetsAuthRegion()
        Description copied from interface: GitHubWorkflowProps
        Will 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:
        getPublishAssetsAuthRegion in interface GitHubWorkflowProps
      • getRunner

        public final Runner getRunner()
        Description copied from interface: GitHubWorkflowProps
        The 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:
        getRunner in interface GitHubWorkflowProps
      • getSynth

        public final software.amazon.awscdk.pipelines.IFileSetProducer getSynth()
        Specified by:
        getSynth in interface software.amazon.awscdk.pipelines.PipelineBaseProps
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object