Skip to content
v2.278.0

SAMLPrivateKeyProperty Struct ​

Contains the private keys for the SAML provider.

This data type is used as a response element in the GetSAMLProvider operation.

Example ​

ts
// 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 sAMLPrivateKeyProperty: iam.CfnSAMLProvider.SAMLPrivateKeyProperty = {
  keyId: 'keyId',
  timestamp: 'timestamp',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iam as iam

s_aml_private_key_property = iam.CfnSAMLProvider.SAMLPrivateKeyProperty(
    key_id="keyId",
    timestamp="timestamp"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iam.*;

SAMLPrivateKeyProperty sAMLPrivateKeyProperty = SAMLPrivateKeyProperty.builder()
        .keyId("keyId")
        .timestamp("timestamp")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IAM;

var sAMLPrivateKeyProperty = new SAMLPrivateKeyProperty {
    KeyId = "keyId",
    Timestamp = "timestamp"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

sAMLPrivateKeyProperty := &SAMLPrivateKeyProperty{
	KeyId: jsii.String("keyId"),
	Timestamp: jsii.String("timestamp"),
}

Properties ​

keyIdstringkey_idstrkeyIdStringKeyIdstringKeyId*string required #
The unique identifier for the SAML private key.
timestampstringtimestampstrtimestampStringTimestampstringTimestamp*string required #
The date and time, in ISO 8601 date-time format, when the private key was uploaded.