Class CfnAppProps.Jsii$Proxy
- All Implemented Interfaces:
CfnAppProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnAppProps
CfnAppProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.amplify.CfnAppProps
CfnAppProps.Builder, CfnAppProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnAppProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnAppProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe personal access token for a GitHub repository for an Amplify app.final ObjectSets the configuration for your automatic branch creation.final ObjectThe credentials for basic authorization for an Amplify app.final StringThe build specification (build spec) for an Amplify app.final ObjectThe cache configuration for the Amplify app.final StringThe Amazon Resource Name (ARN) of the IAM role for an SSR app.final StringThe custom HTTP headers for an Amplify app.final ObjectThe custom rewrite and redirect rules for an Amplify app.final StringThe description of the Amplify app.final ObjectAutomatically disconnect a branch in Amplify Hosting when you delete a branch from your Git repository.final ObjectThe environment variables for the Amplify app.final ObjectAWS Identity and Access Management ( IAM ) service role for the Amazon Resource Name (ARN) of the Amplify app.final ObjectThe configuration details that apply to the jobs for an Amplify app.final StringgetName()The name of the Amplify app.final StringThe OAuth token for a third-party source control system for an Amplify app.final StringThe platform for the Amplify app.final StringThe Git repository for the Amplify app.getTags()The tag for an Amplify app.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
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
Constructor that initializes the object based on literal property values passed by theCfnAppProps.Builder.
-
-
Method Details
-
getName
Description copied from interface:CfnAppPropsThe name of the Amplify app.- Specified by:
getNamein interfaceCfnAppProps- See Also:
-
getAccessToken
Description copied from interface:CfnAppPropsThe personal access token for a GitHub repository for an Amplify app.The personal access token is used to authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.
Use
AccessTokenfor GitHub repositories only. To authorize access to a repository provider such as Bitbucket or CodeCommit, useOauthToken.You must specify either
AccessTokenorOauthTokenwhen you create a new app.Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .
- Specified by:
getAccessTokenin interfaceCfnAppProps- See Also:
-
getAutoBranchCreationConfig
Description copied from interface:CfnAppPropsSets the configuration for your automatic branch creation.Returns union: either
IResolvableorCfnApp.AutoBranchCreationConfigProperty- Specified by:
getAutoBranchCreationConfigin interfaceCfnAppProps- See Also:
-
getBasicAuthConfig
Description copied from interface:CfnAppPropsThe credentials for basic authorization for an Amplify app.You must base64-encode the authorization credentials and provide them in the format
user:password.Returns union: either
IResolvableorCfnApp.BasicAuthConfigProperty- Specified by:
getBasicAuthConfigin interfaceCfnAppProps- See Also:
-
getBuildSpec
Description copied from interface:CfnAppPropsThe build specification (build spec) for an Amplify app.- Specified by:
getBuildSpecin interfaceCfnAppProps- See Also:
-
getCacheConfig
Description copied from interface:CfnAppPropsThe cache configuration for the Amplify app.If you don't specify the cache configuration
type, Amplify uses the defaultAMPLIFY_MANAGEDsetting.Returns union: either
IResolvableorCfnApp.CacheConfigProperty- Specified by:
getCacheConfigin interfaceCfnAppProps- See Also:
-
getComputeRoleArn
Description copied from interface:CfnAppPropsThe Amazon Resource Name (ARN) of the IAM role for an SSR app.The Compute role allows the Amplify Hosting compute service to securely access specific AWS resources based on the role's permissions. For more information about the SSR Compute role, see Adding an SSR Compute role in the Amplify User Guide .
- Specified by:
getComputeRoleArnin interfaceCfnAppProps- See Also:
-
getCustomHeaders
Description copied from interface:CfnAppPropsThe custom HTTP headers for an Amplify app.- Specified by:
getCustomHeadersin interfaceCfnAppProps- See Also:
-
getCustomRules
Description copied from interface:CfnAppPropsThe custom rewrite and redirect rules for an Amplify app.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApp.CustomRuleProperty>- Specified by:
getCustomRulesin interfaceCfnAppProps- See Also:
-
getDescription
Description copied from interface:CfnAppPropsThe description of the Amplify app.- Specified by:
getDescriptionin interfaceCfnAppProps- See Also:
-
getEnableBranchAutoDeletion
Description copied from interface:CfnAppPropsAutomatically disconnect a branch in Amplify Hosting when you delete a branch from your Git repository.Returns union: either
BooleanorIResolvable- Specified by:
getEnableBranchAutoDeletionin interfaceCfnAppProps- See Also:
-
getEnvironmentVariables
Description copied from interface:CfnAppPropsThe environment variables for the Amplify app.For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide .
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApp.EnvironmentVariableProperty>- Specified by:
getEnvironmentVariablesin interfaceCfnAppProps- See Also:
-
getIamServiceRole
Description copied from interface:CfnAppPropsAWS Identity and Access Management ( IAM ) service role for the Amazon Resource Name (ARN) of the Amplify app.- Specified by:
getIamServiceRolein interfaceCfnAppProps- See Also:
-
getJobConfig
Description copied from interface:CfnAppPropsThe configuration details that apply to the jobs for an Amplify app.Returns union: either
IResolvableorCfnApp.JobConfigProperty- Specified by:
getJobConfigin interfaceCfnAppProps- See Also:
-
getOauthToken
Description copied from interface:CfnAppPropsThe OAuth token for a third-party source control system for an Amplify app.The OAuth token is used to create a webhook and a read-only deploy key using SSH cloning. The OAuth token is not stored.
Use
OauthTokenfor repository providers other than GitHub, such as Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, useAccessToken.You must specify either
OauthTokenorAccessTokenwhen you create a new app.Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide .
- Specified by:
getOauthTokenin interfaceCfnAppProps- See Also:
-
getPlatform
Description copied from interface:CfnAppPropsThe platform for the Amplify app.For a static app, set the platform type to
WEB. For a dynamic server-side rendered (SSR) app, set the platform type toWEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type toWEB_DYNAMIC.If you are deploying an SSG only app with Next.js version 14 or later, you must set the platform type to
WEB_COMPUTEand set the artifactsbaseDirectoryto.nextin the application's build settings. For an example of the build specification settings, see Amplify build settings for a Next.js 14 SSG application in the Amplify Hosting User Guide .- Specified by:
getPlatformin interfaceCfnAppProps- See Also:
-
getRepository
Description copied from interface:CfnAppPropsThe Git repository for the Amplify app.- Specified by:
getRepositoryin interfaceCfnAppProps- See Also:
-
getTags
Description copied from interface:CfnAppPropsThe tag for an Amplify app.- Specified by:
getTagsin interfaceCfnAppProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-