published on Friday, Aug 7, 2026 by Pulumi
published on Friday, Aug 7, 2026 by Pulumi
Resource for managing an AWS AppFabric App Authorization Connection.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.appfabric.AppAuthorizationConnection("example", {
appAuthorizationArn: test.arn,
appBundleArn: arn,
});
import pulumi
import pulumi_aws as aws
example = aws.appfabric.AppAuthorizationConnection("example",
app_authorization_arn=test["arn"],
app_bundle_arn=arn)
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/appfabric"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appfabric.NewAppAuthorizationConnection(ctx, "example", &appfabric.AppAuthorizationConnectionArgs{
AppAuthorizationArn: pulumi.Any(test.Arn),
AppBundleArn: pulumi.Any(arn),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.AppFabric.AppAuthorizationConnection("example", new()
{
AppAuthorizationArn = test.Arn,
AppBundleArn = arn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appfabric.AppAuthorizationConnection;
import com.pulumi.aws.appfabric.AppAuthorizationConnectionArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new AppAuthorizationConnection("example", AppAuthorizationConnectionArgs.builder()
.appAuthorizationArn(test.arn())
.appBundleArn(arn)
.build());
}
}
resources:
example:
type: aws:appfabric:AppAuthorizationConnection
properties:
appAuthorizationArn: ${test.arn}
appBundleArn: ${arn}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_appfabric_appauthorizationconnection" "example" {
app_authorization_arn = test.arn
app_bundle_arn = arn
}
Create AppAuthorizationConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppAuthorizationConnection(name: string, args: AppAuthorizationConnectionArgs, opts?: CustomResourceOptions);@overload
def AppAuthorizationConnection(resource_name: str,
args: AppAuthorizationConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppAuthorizationConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_authorization_arn: Optional[str] = None,
app_bundle_arn: Optional[str] = None,
auth_request: Optional[AppAuthorizationConnectionAuthRequestArgs] = None,
region: Optional[str] = None,
timeouts: Optional[AppAuthorizationConnectionTimeoutsArgs] = None)func NewAppAuthorizationConnection(ctx *Context, name string, args AppAuthorizationConnectionArgs, opts ...ResourceOption) (*AppAuthorizationConnection, error)public AppAuthorizationConnection(string name, AppAuthorizationConnectionArgs args, CustomResourceOptions? opts = null)
public AppAuthorizationConnection(String name, AppAuthorizationConnectionArgs args)
public AppAuthorizationConnection(String name, AppAuthorizationConnectionArgs args, CustomResourceOptions options)
type: aws:appfabric:AppAuthorizationConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_appfabric_app_authorization_connection" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AppAuthorizationConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AppAuthorizationConnectionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AppAuthorizationConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppAuthorizationConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppAuthorizationConnectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var appAuthorizationConnectionResource = new Aws.AppFabric.AppAuthorizationConnection("appAuthorizationConnectionResource", new()
{
AppAuthorizationArn = "string",
AppBundleArn = "string",
AuthRequest = new Aws.AppFabric.Inputs.AppAuthorizationConnectionAuthRequestArgs
{
Code = "string",
RedirectUri = "string",
},
Region = "string",
Timeouts = new Aws.AppFabric.Inputs.AppAuthorizationConnectionTimeoutsArgs
{
Create = "string",
},
});
example, err := appfabric.NewAppAuthorizationConnection(ctx, "appAuthorizationConnectionResource", &appfabric.AppAuthorizationConnectionArgs{
AppAuthorizationArn: pulumi.String("string"),
AppBundleArn: pulumi.String("string"),
AuthRequest: &appfabric.AppAuthorizationConnectionAuthRequestArgs{
Code: pulumi.String("string"),
RedirectUri: pulumi.String("string"),
},
Region: pulumi.String("string"),
Timeouts: &appfabric.AppAuthorizationConnectionTimeoutsArgs{
Create: pulumi.String("string"),
},
})
resource "aws_appfabric_app_authorization_connection" "appAuthorizationConnectionResource" {
lifecycle {
create_before_destroy = true
}
app_authorization_arn = "string"
app_bundle_arn = "string"
auth_request = {
code = "string"
redirect_uri = "string"
}
region = "string"
timeouts = {
create = "string"
}
}
var appAuthorizationConnectionResource = new AppAuthorizationConnection("appAuthorizationConnectionResource", AppAuthorizationConnectionArgs.builder()
.appAuthorizationArn("string")
.appBundleArn("string")
.authRequest(AppAuthorizationConnectionAuthRequestArgs.builder()
.code("string")
.redirectUri("string")
.build())
.region("string")
.timeouts(AppAuthorizationConnectionTimeoutsArgs.builder()
.create("string")
.build())
.build());
app_authorization_connection_resource = aws.appfabric.AppAuthorizationConnection("appAuthorizationConnectionResource",
app_authorization_arn="string",
app_bundle_arn="string",
auth_request={
"code": "string",
"redirect_uri": "string",
},
region="string",
timeouts={
"create": "string",
})
const appAuthorizationConnectionResource = new aws.appfabric.AppAuthorizationConnection("appAuthorizationConnectionResource", {
appAuthorizationArn: "string",
appBundleArn: "string",
authRequest: {
code: "string",
redirectUri: "string",
},
region: "string",
timeouts: {
create: "string",
},
});
type: aws:appfabric:AppAuthorizationConnection
properties:
appAuthorizationArn: string
appBundleArn: string
authRequest:
code: string
redirectUri: string
region: string
timeouts:
create: string
AppAuthorizationConnection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AppAuthorizationConnection resource accepts the following input properties:
- string
- Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
- App
Bundle stringArn Amazon Resource Name (ARN) of the app bundle to use for the request.
The following arguments are optional:
- Auth
Request AppAuthorization Connection Auth Request - OAuth2 authorization information. Required if the app authorization for the request is configured with an OAuth2 (
oauth2) authorization type. SeeauthRequestBlock for details. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Timeouts
App
Authorization Connection Timeouts
- string
- Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
- App
Bundle stringArn Amazon Resource Name (ARN) of the app bundle to use for the request.
The following arguments are optional:
- Auth
Request AppAuthorization Connection Auth Request Args - OAuth2 authorization information. Required if the app authorization for the request is configured with an OAuth2 (
oauth2) authorization type. SeeauthRequestBlock for details. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Timeouts
App
Authorization Connection Timeouts Args
- string
- Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
- app_
bundle_ stringarn Amazon Resource Name (ARN) of the app bundle to use for the request.
The following arguments are optional:
- auth_
request object - OAuth2 authorization information. Required if the app authorization for the request is configured with an OAuth2 (
oauth2) authorization type. SeeauthRequestBlock for details. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts object
- String
- Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
- app
Bundle StringArn Amazon Resource Name (ARN) of the app bundle to use for the request.
The following arguments are optional:
- auth
Request AppAuthorization Connection Auth Request - OAuth2 authorization information. Required if the app authorization for the request is configured with an OAuth2 (
oauth2) authorization type. SeeauthRequestBlock for details. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts
App
Authorization Connection Timeouts
- string
- Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
- app
Bundle stringArn Amazon Resource Name (ARN) of the app bundle to use for the request.
The following arguments are optional:
- auth
Request AppAuthorization Connection Auth Request - OAuth2 authorization information. Required if the app authorization for the request is configured with an OAuth2 (
oauth2) authorization type. SeeauthRequestBlock for details. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts
App
Authorization Connection Timeouts
- str
- Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
- app_
bundle_ strarn Amazon Resource Name (ARN) of the app bundle to use for the request.
The following arguments are optional:
- auth_
request AppAuthorization Connection Auth Request Args - OAuth2 authorization information. Required if the app authorization for the request is configured with an OAuth2 (
oauth2) authorization type. SeeauthRequestBlock for details. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts
App
Authorization Connection Timeouts Args
- String
- Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
- app
Bundle StringArn Amazon Resource Name (ARN) of the app bundle to use for the request.
The following arguments are optional:
- auth
Request Property Map - OAuth2 authorization information. Required if the app authorization for the request is configured with an OAuth2 (
oauth2) authorization type. SeeauthRequestBlock for details. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the AppAuthorizationConnection resource produces the following output properties:
- App string
- Name of the application.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tenants
List<App
Authorization Connection Tenant> - Contains information about an application tenant, such as the application display name and identifier.
- App string
- Name of the application.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tenants
[]App
Authorization Connection Tenant - Contains information about an application tenant, such as the application display name and identifier.
- app string
- Name of the application.
- id string
- The provider-assigned unique ID for this managed resource.
- tenants list(object)
- Contains information about an application tenant, such as the application display name and identifier.
- app String
- Name of the application.
- id String
- The provider-assigned unique ID for this managed resource.
- tenants
List<App
Authorization Connection Tenant> - Contains information about an application tenant, such as the application display name and identifier.
- app string
- Name of the application.
- id string
- The provider-assigned unique ID for this managed resource.
- tenants
App
Authorization Connection Tenant[] - Contains information about an application tenant, such as the application display name and identifier.
- app str
- Name of the application.
- id str
- The provider-assigned unique ID for this managed resource.
- tenants
Sequence[App
Authorization Connection Tenant] - Contains information about an application tenant, such as the application display name and identifier.
- app String
- Name of the application.
- id String
- The provider-assigned unique ID for this managed resource.
- tenants List<Property Map>
- Contains information about an application tenant, such as the application display name and identifier.
Look up Existing AppAuthorizationConnection Resource
Get an existing AppAuthorizationConnection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AppAuthorizationConnectionState, opts?: CustomResourceOptions): AppAuthorizationConnection@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app: Optional[str] = None,
app_authorization_arn: Optional[str] = None,
app_bundle_arn: Optional[str] = None,
auth_request: Optional[AppAuthorizationConnectionAuthRequestArgs] = None,
region: Optional[str] = None,
tenants: Optional[Sequence[AppAuthorizationConnectionTenantArgs]] = None,
timeouts: Optional[AppAuthorizationConnectionTimeoutsArgs] = None) -> AppAuthorizationConnectionfunc GetAppAuthorizationConnection(ctx *Context, name string, id IDInput, state *AppAuthorizationConnectionState, opts ...ResourceOption) (*AppAuthorizationConnection, error)public static AppAuthorizationConnection Get(string name, Input<string> id, AppAuthorizationConnectionState? state, CustomResourceOptions? opts = null)public static AppAuthorizationConnection get(String name, Output<String> id, AppAuthorizationConnectionState state, CustomResourceOptions options)resources: _: type: aws:appfabric:AppAuthorizationConnection get: id: ${id}import {
to = aws_appfabric_app_authorization_connection.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- App string
- Name of the application.
- string
- Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
- App
Bundle stringArn Amazon Resource Name (ARN) of the app bundle to use for the request.
The following arguments are optional:
- Auth
Request AppAuthorization Connection Auth Request - OAuth2 authorization information. Required if the app authorization for the request is configured with an OAuth2 (
oauth2) authorization type. SeeauthRequestBlock for details. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Tenants
List<App
Authorization Connection Tenant> - Contains information about an application tenant, such as the application display name and identifier.
- Timeouts
App
Authorization Connection Timeouts
- App string
- Name of the application.
- string
- Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
- App
Bundle stringArn Amazon Resource Name (ARN) of the app bundle to use for the request.
The following arguments are optional:
- Auth
Request AppAuthorization Connection Auth Request Args - OAuth2 authorization information. Required if the app authorization for the request is configured with an OAuth2 (
oauth2) authorization type. SeeauthRequestBlock for details. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Tenants
[]App
Authorization Connection Tenant Args - Contains information about an application tenant, such as the application display name and identifier.
- Timeouts
App
Authorization Connection Timeouts Args
- app string
- Name of the application.
- string
- Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
- app_
bundle_ stringarn Amazon Resource Name (ARN) of the app bundle to use for the request.
The following arguments are optional:
- auth_
request object - OAuth2 authorization information. Required if the app authorization for the request is configured with an OAuth2 (
oauth2) authorization type. SeeauthRequestBlock for details. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- tenants list(object)
- Contains information about an application tenant, such as the application display name and identifier.
- timeouts object
- app String
- Name of the application.
- String
- Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
- app
Bundle StringArn Amazon Resource Name (ARN) of the app bundle to use for the request.
The following arguments are optional:
- auth
Request AppAuthorization Connection Auth Request - OAuth2 authorization information. Required if the app authorization for the request is configured with an OAuth2 (
oauth2) authorization type. SeeauthRequestBlock for details. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- tenants
List<App
Authorization Connection Tenant> - Contains information about an application tenant, such as the application display name and identifier.
- timeouts
App
Authorization Connection Timeouts
- app string
- Name of the application.
- string
- Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
- app
Bundle stringArn Amazon Resource Name (ARN) of the app bundle to use for the request.
The following arguments are optional:
- auth
Request AppAuthorization Connection Auth Request - OAuth2 authorization information. Required if the app authorization for the request is configured with an OAuth2 (
oauth2) authorization type. SeeauthRequestBlock for details. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- tenants
App
Authorization Connection Tenant[] - Contains information about an application tenant, such as the application display name and identifier.
- timeouts
App
Authorization Connection Timeouts
- app str
- Name of the application.
- str
- Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
- app_
bundle_ strarn Amazon Resource Name (ARN) of the app bundle to use for the request.
The following arguments are optional:
- auth_
request AppAuthorization Connection Auth Request Args - OAuth2 authorization information. Required if the app authorization for the request is configured with an OAuth2 (
oauth2) authorization type. SeeauthRequestBlock for details. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- tenants
Sequence[App
Authorization Connection Tenant Args] - Contains information about an application tenant, such as the application display name and identifier.
- timeouts
App
Authorization Connection Timeouts Args
- app String
- Name of the application.
- String
- Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
- app
Bundle StringArn Amazon Resource Name (ARN) of the app bundle to use for the request.
The following arguments are optional:
- auth
Request Property Map - OAuth2 authorization information. Required if the app authorization for the request is configured with an OAuth2 (
oauth2) authorization type. SeeauthRequestBlock for details. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- tenants List<Property Map>
- Contains information about an application tenant, such as the application display name and identifier.
- timeouts Property Map
Supporting Types
AppAuthorizationConnectionAuthRequest, AppAuthorizationConnectionAuthRequestArgs
- Code string
- Authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).
- Redirect
Uri string - Redirect URL that is specified in the AuthURL and the application client.
- Code string
- Authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).
- Redirect
Uri string - Redirect URL that is specified in the AuthURL and the application client.
- code string
- Authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).
- redirect_
uri string - Redirect URL that is specified in the AuthURL and the application client.
- code String
- Authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).
- redirect
Uri String - Redirect URL that is specified in the AuthURL and the application client.
- code string
- Authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).
- redirect
Uri string - Redirect URL that is specified in the AuthURL and the application client.
- code str
- Authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).
- redirect_
uri str - Redirect URL that is specified in the AuthURL and the application client.
- code String
- Authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).
- redirect
Uri String - Redirect URL that is specified in the AuthURL and the application client.
AppAuthorizationConnectionTenant, AppAuthorizationConnectionTenantArgs
- Tenant
Display stringName - Tenant
Identifier string
- Tenant
Display stringName - Tenant
Identifier string
- tenant_
display_ stringname - tenant_
identifier string
- tenant
Display StringName - tenant
Identifier String
- tenant
Display stringName - tenant
Identifier string
- tenant
Display StringName - tenant
Identifier String
AppAuthorizationConnectionTimeouts, AppAuthorizationConnectionTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Friday, Aug 7, 2026 by Pulumi