Class CfnService.AuthenticationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apprunner.CfnService.AuthenticationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.AuthenticationConfigurationProperty>
- Enclosing interface:
- CfnService.AuthenticationConfigurationProperty
@Stability(Stable)
public static final class CfnService.AuthenticationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.AuthenticationConfigurationProperty>
A builder for
CfnService.AuthenticationConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessRoleArn
(String accessRoleArn) Sets the value ofCfnService.AuthenticationConfigurationProperty.getAccessRoleArn()
build()
Builds the configured instance.connectionArn
(String connectionArn) Sets the value ofCfnService.AuthenticationConfigurationProperty.getConnectionArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessRoleArn
@Stability(Stable) public CfnService.AuthenticationConfigurationProperty.Builder accessRoleArn(String accessRoleArn) Sets the value ofCfnService.AuthenticationConfigurationProperty.getAccessRoleArn()
- 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 CfnService.AuthenticationConfigurationProperty.Builder connectionArn(String connectionArn) Sets the value ofCfnService.AuthenticationConfigurationProperty.getConnectionArn()
- 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnService.AuthenticationConfigurationProperty>
- Returns:
- a new instance of
CfnService.AuthenticationConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-