aws.lakeformation.IdentityCenterConfiguration
Manages an AWS Lake Formation Identity Center Configuration.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.ssoadmin.getInstances({});
const identityCenterInstanceArn = example.then(example => example.arns?.[0]);
const exampleIdentityCenterConfiguration = new aws.lakeformation.IdentityCenterConfiguration("example", {instanceArn: identityCenterInstanceArn});
import pulumi
import pulumi_aws as aws
example = aws.ssoadmin.get_instances()
identity_center_instance_arn = example.arns[0]
example_identity_center_configuration = aws.lakeformation.IdentityCenterConfiguration("example", instance_arn=identity_center_instance_arn)
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lakeformation"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ssoadmin"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := ssoadmin.GetInstances(ctx, &ssoadmin.GetInstancesArgs{}, nil)
if err != nil {
return err
}
identityCenterInstanceArn := example.Arns[0]
_, err = lakeformation.NewIdentityCenterConfiguration(ctx, "example", &lakeformation.IdentityCenterConfigurationArgs{
InstanceArn: pulumi.String(identityCenterInstanceArn),
})
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 = Aws.SsoAdmin.GetInstances.Invoke();
var identityCenterInstanceArn = example.Apply(getInstancesResult => getInstancesResult.Arns[0]);
var exampleIdentityCenterConfiguration = new Aws.LakeFormation.IdentityCenterConfiguration("example", new()
{
InstanceArn = identityCenterInstanceArn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ssoadmin.SsoadminFunctions;
import com.pulumi.aws.ssoadmin.inputs.GetInstancesArgs;
import com.pulumi.aws.lakeformation.IdentityCenterConfiguration;
import com.pulumi.aws.lakeformation.IdentityCenterConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
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) {
final var example = SsoadminFunctions.getInstances(GetInstancesArgs.builder()
.build());
final var identityCenterInstanceArn = example.arns()[0];
var exampleIdentityCenterConfiguration = new IdentityCenterConfiguration("exampleIdentityCenterConfiguration", IdentityCenterConfigurationArgs.builder()
.instanceArn(identityCenterInstanceArn)
.build());
}
}
resources:
exampleIdentityCenterConfiguration:
type: aws:lakeformation:IdentityCenterConfiguration
name: example
properties:
instanceArn: ${identityCenterInstanceArn}
variables:
identityCenterInstanceArn: ${example.arns[0]}
example:
fn::invoke:
function: aws:ssoadmin:getInstances
arguments: {}
Create IdentityCenterConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IdentityCenterConfiguration(name: string, args: IdentityCenterConfigurationArgs, opts?: CustomResourceOptions);@overload
def IdentityCenterConfiguration(resource_name: str,
args: IdentityCenterConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IdentityCenterConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_arn: Optional[str] = None,
catalog_id: Optional[str] = None,
region: Optional[str] = None)func NewIdentityCenterConfiguration(ctx *Context, name string, args IdentityCenterConfigurationArgs, opts ...ResourceOption) (*IdentityCenterConfiguration, error)public IdentityCenterConfiguration(string name, IdentityCenterConfigurationArgs args, CustomResourceOptions? opts = null)
public IdentityCenterConfiguration(String name, IdentityCenterConfigurationArgs args)
public IdentityCenterConfiguration(String name, IdentityCenterConfigurationArgs args, CustomResourceOptions options)
type: aws:lakeformation:IdentityCenterConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IdentityCenterConfigurationArgs
- 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 IdentityCenterConfigurationArgs
- 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 IdentityCenterConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IdentityCenterConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IdentityCenterConfigurationArgs
- 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 identityCenterConfigurationResource = new Aws.LakeFormation.IdentityCenterConfiguration("identityCenterConfigurationResource", new()
{
InstanceArn = "string",
CatalogId = "string",
Region = "string",
});
example, err := lakeformation.NewIdentityCenterConfiguration(ctx, "identityCenterConfigurationResource", &lakeformation.IdentityCenterConfigurationArgs{
InstanceArn: pulumi.String("string"),
CatalogId: pulumi.String("string"),
Region: pulumi.String("string"),
})
var identityCenterConfigurationResource = new IdentityCenterConfiguration("identityCenterConfigurationResource", IdentityCenterConfigurationArgs.builder()
.instanceArn("string")
.catalogId("string")
.region("string")
.build());
identity_center_configuration_resource = aws.lakeformation.IdentityCenterConfiguration("identityCenterConfigurationResource",
instance_arn="string",
catalog_id="string",
region="string")
const identityCenterConfigurationResource = new aws.lakeformation.IdentityCenterConfiguration("identityCenterConfigurationResource", {
instanceArn: "string",
catalogId: "string",
region: "string",
});
type: aws:lakeformation:IdentityCenterConfiguration
properties:
catalogId: string
instanceArn: string
region: string
IdentityCenterConfiguration 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 IdentityCenterConfiguration resource accepts the following input properties:
- Instance
Arn string ARN of the IAM Identity Center Instance to associate.
The following arguments are optional:
- Catalog
Id string - Identifier for the Data Catalog. By default, the account ID.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Instance
Arn string ARN of the IAM Identity Center Instance to associate.
The following arguments are optional:
- Catalog
Id string - Identifier for the Data Catalog. By default, the account ID.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- instance
Arn String ARN of the IAM Identity Center Instance to associate.
The following arguments are optional:
- catalog
Id String - Identifier for the Data Catalog. By default, the account ID.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- instance
Arn string ARN of the IAM Identity Center Instance to associate.
The following arguments are optional:
- catalog
Id string - Identifier for the Data Catalog. By default, the account ID.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- instance_
arn str ARN of the IAM Identity Center Instance to associate.
The following arguments are optional:
- catalog_
id str - Identifier for the Data Catalog. By default, the account ID.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- instance
Arn String ARN of the IAM Identity Center Instance to associate.
The following arguments are optional:
- catalog
Id String - Identifier for the Data Catalog. By default, the account ID.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the IdentityCenterConfiguration resource produces the following output properties:
- Application
Arn string - ARN of the Lake Formation applicated integrated with IAM Identity Center.
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- ARN of the Resource Access Manager (RAM) resource share.
- Application
Arn string - ARN of the Lake Formation applicated integrated with IAM Identity Center.
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- ARN of the Resource Access Manager (RAM) resource share.
- application
Arn String - ARN of the Lake Formation applicated integrated with IAM Identity Center.
- id String
- The provider-assigned unique ID for this managed resource.
- String
- ARN of the Resource Access Manager (RAM) resource share.
- application
Arn string - ARN of the Lake Formation applicated integrated with IAM Identity Center.
- id string
- The provider-assigned unique ID for this managed resource.
- string
- ARN of the Resource Access Manager (RAM) resource share.
- application_
arn str - ARN of the Lake Formation applicated integrated with IAM Identity Center.
- id str
- The provider-assigned unique ID for this managed resource.
- str
- ARN of the Resource Access Manager (RAM) resource share.
- application
Arn String - ARN of the Lake Formation applicated integrated with IAM Identity Center.
- id String
- The provider-assigned unique ID for this managed resource.
- String
- ARN of the Resource Access Manager (RAM) resource share.
Look up Existing IdentityCenterConfiguration Resource
Get an existing IdentityCenterConfiguration 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?: IdentityCenterConfigurationState, opts?: CustomResourceOptions): IdentityCenterConfiguration@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application_arn: Optional[str] = None,
catalog_id: Optional[str] = None,
instance_arn: Optional[str] = None,
region: Optional[str] = None,
resource_share: Optional[str] = None) -> IdentityCenterConfigurationfunc GetIdentityCenterConfiguration(ctx *Context, name string, id IDInput, state *IdentityCenterConfigurationState, opts ...ResourceOption) (*IdentityCenterConfiguration, error)public static IdentityCenterConfiguration Get(string name, Input<string> id, IdentityCenterConfigurationState? state, CustomResourceOptions? opts = null)public static IdentityCenterConfiguration get(String name, Output<String> id, IdentityCenterConfigurationState state, CustomResourceOptions options)resources: _: type: aws:lakeformation:IdentityCenterConfiguration get: 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.
- Application
Arn string - ARN of the Lake Formation applicated integrated with IAM Identity Center.
- Catalog
Id string - Identifier for the Data Catalog. By default, the account ID.
- Instance
Arn string ARN of the IAM Identity Center Instance to associate.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- string
- ARN of the Resource Access Manager (RAM) resource share.
- Application
Arn string - ARN of the Lake Formation applicated integrated with IAM Identity Center.
- Catalog
Id string - Identifier for the Data Catalog. By default, the account ID.
- Instance
Arn string ARN of the IAM Identity Center Instance to associate.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- string
- ARN of the Resource Access Manager (RAM) resource share.
- application
Arn String - ARN of the Lake Formation applicated integrated with IAM Identity Center.
- catalog
Id String - Identifier for the Data Catalog. By default, the account ID.
- instance
Arn String ARN of the IAM Identity Center Instance to associate.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- String
- ARN of the Resource Access Manager (RAM) resource share.
- application
Arn string - ARN of the Lake Formation applicated integrated with IAM Identity Center.
- catalog
Id string - Identifier for the Data Catalog. By default, the account ID.
- instance
Arn string ARN of the IAM Identity Center Instance to associate.
The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- string
- ARN of the Resource Access Manager (RAM) resource share.
- application_
arn str - ARN of the Lake Formation applicated integrated with IAM Identity Center.
- catalog_
id str - Identifier for the Data Catalog. By default, the account ID.
- instance_
arn str ARN of the IAM Identity Center Instance to associate.
The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- str
- ARN of the Resource Access Manager (RAM) resource share.
- application
Arn String - ARN of the Lake Formation applicated integrated with IAM Identity Center.
- catalog
Id String - Identifier for the Data Catalog. By default, the account ID.
- instance
Arn String ARN of the IAM Identity Center Instance to associate.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- String
- ARN of the Resource Access Manager (RAM) resource share.
Import
Using pulumi import, import Lake Formation Identity Center Configuration using the catalog_id. For example:
$ pulumi import aws:lakeformation/identityCenterConfiguration:IdentityCenterConfiguration example 123456789012
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
