We recommend new projects start with resources from the AWS provider.
aws-native.iam.SamlProvider
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::IAM::SAMLProvider
Create SamlProvider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SamlProvider(name: string, args?: SamlProviderArgs, opts?: CustomResourceOptions);@overload
def SamlProvider(resource_name: str,
                 args: Optional[SamlProviderArgs] = None,
                 opts: Optional[ResourceOptions] = None)
@overload
def SamlProvider(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 add_private_key: Optional[str] = None,
                 assertion_encryption_mode: Optional[SamlProviderAssertionEncryptionMode] = None,
                 name: Optional[str] = None,
                 private_key_list: Optional[Sequence[SamlProviderSamlPrivateKeyArgs]] = None,
                 remove_private_key: Optional[str] = None,
                 saml_metadata_document: Optional[str] = None,
                 tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewSamlProvider(ctx *Context, name string, args *SamlProviderArgs, opts ...ResourceOption) (*SamlProvider, error)public SamlProvider(string name, SamlProviderArgs? args = null, CustomResourceOptions? opts = null)
public SamlProvider(String name, SamlProviderArgs args)
public SamlProvider(String name, SamlProviderArgs args, CustomResourceOptions options)
type: aws-native:iam:SamlProvider
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 SamlProviderArgs
- 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 SamlProviderArgs
- 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 SamlProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SamlProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SamlProviderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SamlProvider 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 SamlProvider resource accepts the following input properties:
- AddPrivate stringKey 
- The private key from your external identity provider
- AssertionEncryption Pulumi.Mode Aws Native. Iam. Saml Provider Assertion Encryption Mode 
- The encryption setting for the SAML provider
- Name string
- The name of the provider to create. - This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- 
- PrivateKey List<Pulumi.List Aws Native. Iam. Inputs. Saml Provider Saml Private Key> 
- The private key metadata for the SAML provider.
- RemovePrivate stringKey 
- The Key ID of the private key to remove
- SamlMetadata stringDocument 
- An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP. - For more information, see About SAML 2.0-based federation in the IAM User Guide 
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- A list of tags that you want to attach to the new IAM SAML provider. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide . - If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. 
- AddPrivate stringKey 
- The private key from your external identity provider
- AssertionEncryption SamlMode Provider Assertion Encryption Mode 
- The encryption setting for the SAML provider
- Name string
- The name of the provider to create. - This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- 
- PrivateKey []SamlList Provider Saml Private Key Args 
- The private key metadata for the SAML provider.
- RemovePrivate stringKey 
- The Key ID of the private key to remove
- SamlMetadata stringDocument 
- An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP. - For more information, see About SAML 2.0-based federation in the IAM User Guide 
- 
TagArgs 
- A list of tags that you want to attach to the new IAM SAML provider. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide . - If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. 
- addPrivate StringKey 
- The private key from your external identity provider
- assertionEncryption SamlMode Provider Assertion Encryption Mode 
- The encryption setting for the SAML provider
- name String
- The name of the provider to create. - This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- 
- privateKey List<SamlList Provider Saml Private Key> 
- The private key metadata for the SAML provider.
- removePrivate StringKey 
- The Key ID of the private key to remove
- samlMetadata StringDocument 
- An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP. - For more information, see About SAML 2.0-based federation in the IAM User Guide 
- List<Tag>
- A list of tags that you want to attach to the new IAM SAML provider. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide . - If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. 
- addPrivate stringKey 
- The private key from your external identity provider
- assertionEncryption SamlMode Provider Assertion Encryption Mode 
- The encryption setting for the SAML provider
- name string
- The name of the provider to create. - This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- 
- privateKey SamlList Provider Saml Private Key[] 
- The private key metadata for the SAML provider.
- removePrivate stringKey 
- The Key ID of the private key to remove
- samlMetadata stringDocument 
- An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP. - For more information, see About SAML 2.0-based federation in the IAM User Guide 
- Tag[]
- A list of tags that you want to attach to the new IAM SAML provider. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide . - If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. 
- add_private_ strkey 
- The private key from your external identity provider
- assertion_encryption_ Samlmode Provider Assertion Encryption Mode 
- The encryption setting for the SAML provider
- name str
- The name of the provider to create. - This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- 
- private_key_ Sequence[Samllist Provider Saml Private Key Args] 
- The private key metadata for the SAML provider.
- remove_private_ strkey 
- The Key ID of the private key to remove
- saml_metadata_ strdocument 
- An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP. - For more information, see About SAML 2.0-based federation in the IAM User Guide 
- 
Sequence[TagArgs] 
- A list of tags that you want to attach to the new IAM SAML provider. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide . - If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. 
- addPrivate StringKey 
- The private key from your external identity provider
- assertionEncryption "Allowed" | "Required"Mode 
- The encryption setting for the SAML provider
- name String
- The name of the provider to create. - This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- 
- privateKey List<Property Map>List 
- The private key metadata for the SAML provider.
- removePrivate StringKey 
- The Key ID of the private key to remove
- samlMetadata StringDocument 
- An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP. - For more information, see About SAML 2.0-based federation in the IAM User Guide 
- List<Property Map>
- A list of tags that you want to attach to the new IAM SAML provider. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide . - If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created. 
Outputs
All input properties are implicitly available as output properties. Additionally, the SamlProvider resource produces the following output properties:
- Arn string
- Amazon Resource Name (ARN) of the SAML provider
- Id string
- The provider-assigned unique ID for this managed resource.
- SamlProvider stringUuid 
- The unique identifier assigned to the SAML provider
- Arn string
- Amazon Resource Name (ARN) of the SAML provider
- Id string
- The provider-assigned unique ID for this managed resource.
- SamlProvider stringUuid 
- The unique identifier assigned to the SAML provider
- arn String
- Amazon Resource Name (ARN) of the SAML provider
- id String
- The provider-assigned unique ID for this managed resource.
- samlProvider StringUuid 
- The unique identifier assigned to the SAML provider
- arn string
- Amazon Resource Name (ARN) of the SAML provider
- id string
- The provider-assigned unique ID for this managed resource.
- samlProvider stringUuid 
- The unique identifier assigned to the SAML provider
- arn str
- Amazon Resource Name (ARN) of the SAML provider
- id str
- The provider-assigned unique ID for this managed resource.
- saml_provider_ struuid 
- The unique identifier assigned to the SAML provider
- arn String
- Amazon Resource Name (ARN) of the SAML provider
- id String
- The provider-assigned unique ID for this managed resource.
- samlProvider StringUuid 
- The unique identifier assigned to the SAML provider
Supporting Types
SamlProviderAssertionEncryptionMode, SamlProviderAssertionEncryptionModeArgs          
- Allowed
- Allowed
- Required
- Required
- SamlProvider Assertion Encryption Mode Allowed 
- Allowed
- SamlProvider Assertion Encryption Mode Required 
- Required
- Allowed
- Allowed
- Required
- Required
- Allowed
- Allowed
- Required
- Required
- ALLOWED
- Allowed
- REQUIRED
- Required
- "Allowed"
- Allowed
- "Required"
- Required
SamlProviderSamlPrivateKey, SamlProviderSamlPrivateKeyArgs          
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.