Class CfnServicePropsMixin.AuthenticationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apprunner.CfnServicePropsMixin.AuthenticationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.AuthenticationConfigurationProperty>
- Enclosing interface:
CfnServicePropsMixin.AuthenticationConfigurationProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.AuthenticationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.AuthenticationConfigurationProperty>
A builder for
CfnServicePropsMixin.AuthenticationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessRoleArn(String accessRoleArn) accessRoleArn(IRoleRef accessRoleArn) build()Builds the configured instance.connectionArn(String connectionArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessRoleArn
@Stability(Stable) public CfnServicePropsMixin.AuthenticationConfigurationProperty.Builder accessRoleArn(String accessRoleArn) - Parameters:
accessRoleArn- The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source repository. It's required for ECR image repositories (but not for ECR Public repositories).- Returns:
this
-
accessRoleArn
@Stability(Stable) public CfnServicePropsMixin.AuthenticationConfigurationProperty.Builder accessRoleArn(IRoleRef accessRoleArn) - Parameters:
accessRoleArn- The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source repository. It's required for ECR image repositories (but not for ECR Public repositories).- Returns:
this
-
connectionArn
@Stability(Stable) public CfnServicePropsMixin.AuthenticationConfigurationProperty.Builder connectionArn(String connectionArn) - Parameters:
connectionArn- The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect to a source repository. It's required for GitHub code repositories.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.AuthenticationConfigurationProperty>- Returns:
- a new instance of
CfnServicePropsMixin.AuthenticationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-