# AWS::Transfer::Certificate Resource Type definition for AWS::Transfer::Certificate ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "Type" : "AWS::Transfer::Certificate",
    "Properties" : {
        "Usage" : String,
        "Certificate" : String,
        "CertificateChain" : String,
        "PrivateKey" : String,
        "ActiveDate" : String,
        "InactiveDate" : String,
        "Description" : String,
        "Tags" : [ Tag, ... ],
    }
}
### YAML
Type: AWS::Transfer::Certificate
Properties:
    Usage: String
    Certificate: String
    CertificateChain: String
    PrivateKey: String
    ActiveDate: String
    InactiveDate: String
    Description: String
    Tags: 
      - Tag
## Properties #### Usage Specifies the usage type for the certificate. _Required_: Yes _Type_: String _Allowed Values_: SIGNING | ENCRYPTION _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Certificate Specifies the certificate body to be imported. _Required_: Yes _Type_: String _Minimum_: 1 _Maximum_: 16384 _Pattern_: ^[ -ÿ]* _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### CertificateChain Specifies the certificate chain to be imported. _Required_: No _Type_: String _Minimum_: 1 _Maximum_: 2097152 _Pattern_: ^[ -ÿ]* _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### PrivateKey Specifies the private key for the certificate. _Required_: No _Type_: String _Minimum_: 1 _Maximum_: 16384 _Pattern_: ^[ -ÿ]* _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### ActiveDate Specifies the active date for the certificate. _Required_: No _Type_: String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### InactiveDate Specifies the inactive date for the certificate. _Required_: No _Type_: String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Description A textual description for the certificate. _Required_: No _Type_: String _Minimum_: 1 _Maximum_: 200 _Pattern_: ^[\w\- ]*$ _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Tags Key-value pairs that can be used to group and search for certificates. Tags are metadata attached to certificates for any purpose. _Required_: No _Type_: List of Tag _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) ## Return Values ### Ref When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the CertificateId. ### Fn::GetAtt The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values. For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html). #### Arn Specifies the unique Amazon Resource Name (ARN) for the agreement. #### CertificateId A unique identifier for the certificate. #### Status A status description for the certificate. #### Type Describing the type of certificate. With or without a private key. #### Serial Specifies Certificate's serial. #### NotAfterDate Specifies the not after date for the certificate. #### NotBeforeDate Specifies the not before date for the certificate.