Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.iam.OutboundWebIdentityFederation("example", {});
import pulumi
import pulumi_aws as aws
example = aws.iam.OutboundWebIdentityFederation("example")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iam.NewOutboundWebIdentityFederation(ctx, "example", nil)
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.Iam.OutboundWebIdentityFederation("example");
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iam.OutboundWebIdentityFederation;
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) {
var example = new OutboundWebIdentityFederation("example");
}
}
resources:
example:
type: aws:iam:OutboundWebIdentityFederation
Create OutboundWebIdentityFederation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OutboundWebIdentityFederation(name: string, args?: OutboundWebIdentityFederationArgs, opts?: CustomResourceOptions);@overload
def OutboundWebIdentityFederation(resource_name: str,
args: Optional[OutboundWebIdentityFederationArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def OutboundWebIdentityFederation(resource_name: str,
opts: Optional[ResourceOptions] = None)func NewOutboundWebIdentityFederation(ctx *Context, name string, args *OutboundWebIdentityFederationArgs, opts ...ResourceOption) (*OutboundWebIdentityFederation, error)public OutboundWebIdentityFederation(string name, OutboundWebIdentityFederationArgs? args = null, CustomResourceOptions? opts = null)
public OutboundWebIdentityFederation(String name, OutboundWebIdentityFederationArgs args)
public OutboundWebIdentityFederation(String name, OutboundWebIdentityFederationArgs args, CustomResourceOptions options)
type: aws:iam:OutboundWebIdentityFederation
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 OutboundWebIdentityFederationArgs
- 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 OutboundWebIdentityFederationArgs
- 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 OutboundWebIdentityFederationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OutboundWebIdentityFederationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OutboundWebIdentityFederationArgs
- 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 outboundWebIdentityFederationResource = new Aws.Iam.OutboundWebIdentityFederation("outboundWebIdentityFederationResource");
example, err := iam.NewOutboundWebIdentityFederation(ctx, "outboundWebIdentityFederationResource", nil)
var outboundWebIdentityFederationResource = new OutboundWebIdentityFederation("outboundWebIdentityFederationResource");
outbound_web_identity_federation_resource = aws.iam.OutboundWebIdentityFederation("outboundWebIdentityFederationResource")
const outboundWebIdentityFederationResource = new aws.iam.OutboundWebIdentityFederation("outboundWebIdentityFederationResource", {});
type: aws:iam:OutboundWebIdentityFederation
properties: {}
OutboundWebIdentityFederation 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 OutboundWebIdentityFederation resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the OutboundWebIdentityFederation resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Issuer
Identifier string - A unique issuer URL for your AWS account that hosts the OpenID Connect (OIDC) discovery endpoints.
- Id string
- The provider-assigned unique ID for this managed resource.
- Issuer
Identifier string - A unique issuer URL for your AWS account that hosts the OpenID Connect (OIDC) discovery endpoints.
- id String
- The provider-assigned unique ID for this managed resource.
- issuer
Identifier String - A unique issuer URL for your AWS account that hosts the OpenID Connect (OIDC) discovery endpoints.
- id string
- The provider-assigned unique ID for this managed resource.
- issuer
Identifier string - A unique issuer URL for your AWS account that hosts the OpenID Connect (OIDC) discovery endpoints.
- id str
- The provider-assigned unique ID for this managed resource.
- issuer_
identifier str - A unique issuer URL for your AWS account that hosts the OpenID Connect (OIDC) discovery endpoints.
- id String
- The provider-assigned unique ID for this managed resource.
- issuer
Identifier String - A unique issuer URL for your AWS account that hosts the OpenID Connect (OIDC) discovery endpoints.
Look up Existing OutboundWebIdentityFederation Resource
Get an existing OutboundWebIdentityFederation 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?: OutboundWebIdentityFederationState, opts?: CustomResourceOptions): OutboundWebIdentityFederation@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
issuer_identifier: Optional[str] = None) -> OutboundWebIdentityFederationfunc GetOutboundWebIdentityFederation(ctx *Context, name string, id IDInput, state *OutboundWebIdentityFederationState, opts ...ResourceOption) (*OutboundWebIdentityFederation, error)public static OutboundWebIdentityFederation Get(string name, Input<string> id, OutboundWebIdentityFederationState? state, CustomResourceOptions? opts = null)public static OutboundWebIdentityFederation get(String name, Output<String> id, OutboundWebIdentityFederationState state, CustomResourceOptions options)resources: _: type: aws:iam:OutboundWebIdentityFederation 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.
- Issuer
Identifier string - A unique issuer URL for your AWS account that hosts the OpenID Connect (OIDC) discovery endpoints.
- Issuer
Identifier string - A unique issuer URL for your AWS account that hosts the OpenID Connect (OIDC) discovery endpoints.
- issuer
Identifier String - A unique issuer URL for your AWS account that hosts the OpenID Connect (OIDC) discovery endpoints.
- issuer
Identifier string - A unique issuer URL for your AWS account that hosts the OpenID Connect (OIDC) discovery endpoints.
- issuer_
identifier str - A unique issuer URL for your AWS account that hosts the OpenID Connect (OIDC) discovery endpoints.
- issuer
Identifier String - A unique issuer URL for your AWS account that hosts the OpenID Connect (OIDC) discovery endpoints.
Import
In Terraform v1.12.0 and later, the import block can be used with the identity attribute. For example:
Using pulumi import, import IAM Outbound Web Identity Federation resources using the AWS account ID. For example:
$ pulumi import aws:iam/outboundWebIdentityFederation:OutboundWebIdentityFederation 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.
