interface CfnSAMLProviderProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IAM.CfnSAMLProviderProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiam#CfnSAMLProviderProps |
![]() | software.amazon.awscdk.services.iam.CfnSAMLProviderProps |
![]() | aws_cdk.aws_iam.CfnSAMLProviderProps |
![]() | aws-cdk-lib » aws_iam » CfnSAMLProviderProps |
Properties for defining a CfnSAMLProvider
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-samlprovider.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iam as iam } from 'aws-cdk-lib';
const cfnSAMLProviderProps: iam.CfnSAMLProviderProps = {
addPrivateKey: 'addPrivateKey',
assertionEncryptionMode: 'assertionEncryptionMode',
name: 'name',
privateKeyList: [{
keyId: 'keyId',
timestamp: 'timestamp',
}],
removePrivateKey: 'removePrivateKey',
samlMetadataDocument: 'samlMetadataDocument',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
add | string | Specifies the new private key from your external identity provider. |
assertion | string | Specifies the encryption setting for the SAML provider. |
name? | string | The name of the provider to create. |
private | IResolvable | IResolvable | SAMLPrivate [] | The private key metadata for the SAML provider. |
remove | string | The Key ID of the private key to remove. |
saml | string | 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. |
tags? | Cfn [] | A list of tags that you want to attach to the new IAM SAML provider. |
addPrivateKey?
Type:
string
(optional)
Specifies the new private key from your external identity provider.
The private key must be a .pem file that uses AES-GCM or AES-CBC encryption algorithm to decrypt SAML assertions.
assertionEncryptionMode?
Type:
string
(optional)
Specifies the encryption setting for the SAML provider.
name?
Type:
string
(optional)
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: _+=,.@-
privateKeyList?
Type:
IResolvable
|
IResolvable
|
SAMLPrivate
[]
(optional)
The private key metadata for the SAML provider.
removePrivateKey?
Type:
string
(optional)
The Key ID of the private key to remove.
samlMetadataDocument?
Type:
string
(optional)
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
tags?
Type:
Cfn
[]
(optional)
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.