Try AWS Native preview for resources not in the classic version.
aws.cognito.IdentityPoolProviderPrincipalTag
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Provides an AWS Cognito Identity Principal Mapping.
Create IdentityPoolProviderPrincipalTag Resource
new IdentityPoolProviderPrincipalTag(name: string, args: IdentityPoolProviderPrincipalTagArgs, opts?: CustomResourceOptions);
@overload
def IdentityPoolProviderPrincipalTag(resource_name: str,
opts: Optional[ResourceOptions] = None,
identity_pool_id: Optional[str] = None,
identity_provider_name: Optional[str] = None,
principal_tags: Optional[Mapping[str, str]] = None,
use_defaults: Optional[bool] = None)
@overload
def IdentityPoolProviderPrincipalTag(resource_name: str,
args: IdentityPoolProviderPrincipalTagArgs,
opts: Optional[ResourceOptions] = None)
func NewIdentityPoolProviderPrincipalTag(ctx *Context, name string, args IdentityPoolProviderPrincipalTagArgs, opts ...ResourceOption) (*IdentityPoolProviderPrincipalTag, error)
public IdentityPoolProviderPrincipalTag(string name, IdentityPoolProviderPrincipalTagArgs args, CustomResourceOptions? opts = null)
public IdentityPoolProviderPrincipalTag(String name, IdentityPoolProviderPrincipalTagArgs args)
public IdentityPoolProviderPrincipalTag(String name, IdentityPoolProviderPrincipalTagArgs args, CustomResourceOptions options)
type: aws:cognito:IdentityPoolProviderPrincipalTag
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IdentityPoolProviderPrincipalTagArgs
- 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 IdentityPoolProviderPrincipalTagArgs
- 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 IdentityPoolProviderPrincipalTagArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IdentityPoolProviderPrincipalTagArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IdentityPoolProviderPrincipalTagArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
IdentityPoolProviderPrincipalTag Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The IdentityPoolProviderPrincipalTag resource accepts the following input properties:
- Identity
Pool stringId An identity pool ID.
- Identity
Provider stringName The name of the identity provider.
- Dictionary<string, string>
String to string map of variables.
- Use
Defaults bool use default (username and clientID) attribute mappings.
- Identity
Pool stringId An identity pool ID.
- Identity
Provider stringName The name of the identity provider.
- map[string]string
String to string map of variables.
- Use
Defaults bool use default (username and clientID) attribute mappings.
- identity
Pool StringId An identity pool ID.
- identity
Provider StringName The name of the identity provider.
- Map<String,String>
String to string map of variables.
- use
Defaults Boolean use default (username and clientID) attribute mappings.
- identity
Pool stringId An identity pool ID.
- identity
Provider stringName The name of the identity provider.
- {[key: string]: string}
String to string map of variables.
- use
Defaults boolean use default (username and clientID) attribute mappings.
- identity_
pool_ strid An identity pool ID.
- identity_
provider_ strname The name of the identity provider.
- Mapping[str, str]
String to string map of variables.
- use_
defaults bool use default (username and clientID) attribute mappings.
- identity
Pool StringId An identity pool ID.
- identity
Provider StringName The name of the identity provider.
- Map<String>
String to string map of variables.
- use
Defaults Boolean use default (username and clientID) attribute mappings.
Outputs
All input properties are implicitly available as output properties. Additionally, the IdentityPoolProviderPrincipalTag resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing IdentityPoolProviderPrincipalTag Resource
Get an existing IdentityPoolProviderPrincipalTag 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?: IdentityPoolProviderPrincipalTagState, opts?: CustomResourceOptions): IdentityPoolProviderPrincipalTag
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
identity_pool_id: Optional[str] = None,
identity_provider_name: Optional[str] = None,
principal_tags: Optional[Mapping[str, str]] = None,
use_defaults: Optional[bool] = None) -> IdentityPoolProviderPrincipalTag
func GetIdentityPoolProviderPrincipalTag(ctx *Context, name string, id IDInput, state *IdentityPoolProviderPrincipalTagState, opts ...ResourceOption) (*IdentityPoolProviderPrincipalTag, error)
public static IdentityPoolProviderPrincipalTag Get(string name, Input<string> id, IdentityPoolProviderPrincipalTagState? state, CustomResourceOptions? opts = null)
public static IdentityPoolProviderPrincipalTag get(String name, Output<String> id, IdentityPoolProviderPrincipalTagState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Identity
Pool stringId An identity pool ID.
- Identity
Provider stringName The name of the identity provider.
- Dictionary<string, string>
String to string map of variables.
- Use
Defaults bool use default (username and clientID) attribute mappings.
- Identity
Pool stringId An identity pool ID.
- Identity
Provider stringName The name of the identity provider.
- map[string]string
String to string map of variables.
- Use
Defaults bool use default (username and clientID) attribute mappings.
- identity
Pool StringId An identity pool ID.
- identity
Provider StringName The name of the identity provider.
- Map<String,String>
String to string map of variables.
- use
Defaults Boolean use default (username and clientID) attribute mappings.
- identity
Pool stringId An identity pool ID.
- identity
Provider stringName The name of the identity provider.
- {[key: string]: string}
String to string map of variables.
- use
Defaults boolean use default (username and clientID) attribute mappings.
- identity_
pool_ strid An identity pool ID.
- identity_
provider_ strname The name of the identity provider.
- Mapping[str, str]
String to string map of variables.
- use_
defaults bool use default (username and clientID) attribute mappings.
- identity
Pool StringId An identity pool ID.
- identity
Provider StringName The name of the identity provider.
- Map<String>
String to string map of variables.
- use
Defaults Boolean use default (username and clientID) attribute mappings.
Import
Using pulumi import
, import Cognito Identity Pool Roles Attachment using the Identity Pool ID and provider name. For example:
$ pulumi import aws:cognito/identityPoolProviderPrincipalTag:IdentityPoolProviderPrincipalTag example us-west-2_abc123:CorpAD
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.