-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnCertificate_ValidityProperty.go
30 lines (27 loc) · 1.3 KB
/
CfnCertificate_ValidityProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package awsacmpca
// Length of time for which the certificate issued by your private certificate authority (CA), or by the private CA itself, is valid in days, months, or years.
//
// You can issue a certificate by calling the `IssueCertificate` operation.
//
// Example:
// // 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"
//
// validityProperty := &ValidityProperty{
// Type: jsii.String("type"),
// Value: jsii.Number(123),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-validity.html
//
type CfnCertificate_ValidityProperty struct {
// Specifies whether the `Value` parameter represents days, months, or years.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-validity.html#cfn-acmpca-certificate-validity-type
//
Type *string `field:"required" json:"type" yaml:"type"`
// A long integer interpreted according to the value of `Type` , below.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-validity.html#cfn-acmpca-certificate-validity-value
//
Value *float64 `field:"required" json:"value" yaml:"value"`
}