Documentation
¶
Index ¶
- type ExternalKey
- type ExternalKeyArgs
- type ExternalKeyArray
- type ExternalKeyArrayInput
- type ExternalKeyArrayOutput
- func (ExternalKeyArrayOutput) ElementType() reflect.Type
- func (o ExternalKeyArrayOutput) Index(i pulumi.IntInput) ExternalKeyOutput
- func (o ExternalKeyArrayOutput) ToExternalKeyArrayOutput() ExternalKeyArrayOutput
- func (o ExternalKeyArrayOutput) ToExternalKeyArrayOutputWithContext(ctx context.Context) ExternalKeyArrayOutput
- type ExternalKeyInput
- type ExternalKeyMap
- type ExternalKeyMapInput
- type ExternalKeyMapOutput
- func (ExternalKeyMapOutput) ElementType() reflect.Type
- func (o ExternalKeyMapOutput) MapIndex(k pulumi.StringInput) ExternalKeyOutput
- func (o ExternalKeyMapOutput) ToExternalKeyMapOutput() ExternalKeyMapOutput
- func (o ExternalKeyMapOutput) ToExternalKeyMapOutputWithContext(ctx context.Context) ExternalKeyMapOutput
- type ExternalKeyOutput
- func (o ExternalKeyOutput) Alias() pulumi.StringOutput
- func (o ExternalKeyOutput) Description() pulumi.StringPtrOutput
- func (ExternalKeyOutput) ElementType() reflect.Type
- func (o ExternalKeyOutput) IsArchived() pulumi.BoolPtrOutput
- func (o ExternalKeyOutput) IsEnabled() pulumi.BoolPtrOutput
- func (o ExternalKeyOutput) KeyMaterialBase64() pulumi.StringPtrOutput
- func (o ExternalKeyOutput) KeyState() pulumi.StringOutput
- func (o ExternalKeyOutput) PendingDeleteWindowInDays() pulumi.IntPtrOutput
- func (o ExternalKeyOutput) Tags() pulumi.MapOutput
- func (o ExternalKeyOutput) ToExternalKeyOutput() ExternalKeyOutput
- func (o ExternalKeyOutput) ToExternalKeyOutputWithContext(ctx context.Context) ExternalKeyOutput
- func (o ExternalKeyOutput) ValidTo() pulumi.IntPtrOutput
- func (o ExternalKeyOutput) WrappingAlgorithm() pulumi.StringPtrOutput
- type ExternalKeyState
- type GetGetParametersForImportArgs
- type GetGetParametersForImportOutputArgs
- type GetGetParametersForImportResult
- type GetGetParametersForImportResultOutput
- func (GetGetParametersForImportResultOutput) ElementType() reflect.Type
- func (o GetGetParametersForImportResultOutput) Id() pulumi.StringOutput
- func (o GetGetParametersForImportResultOutput) ImportToken() pulumi.StringOutput
- func (o GetGetParametersForImportResultOutput) KeyId() pulumi.StringOutput
- func (o GetGetParametersForImportResultOutput) ParametersValidTo() pulumi.IntOutput
- func (o GetGetParametersForImportResultOutput) PublicKey() pulumi.StringOutput
- func (o GetGetParametersForImportResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetGetParametersForImportResultOutput) ToGetGetParametersForImportResultOutput() GetGetParametersForImportResultOutput
- func (o GetGetParametersForImportResultOutput) ToGetGetParametersForImportResultOutputWithContext(ctx context.Context) GetGetParametersForImportResultOutput
- func (o GetGetParametersForImportResultOutput) WrappingAlgorithm() pulumi.StringOutput
- func (o GetGetParametersForImportResultOutput) WrappingKeySpec() pulumi.StringOutput
- type GetKeysArgs
- type GetKeysKeyList
- type GetKeysKeyListArgs
- type GetKeysKeyListArray
- type GetKeysKeyListArrayInput
- type GetKeysKeyListArrayOutput
- func (GetKeysKeyListArrayOutput) ElementType() reflect.Type
- func (o GetKeysKeyListArrayOutput) Index(i pulumi.IntInput) GetKeysKeyListOutput
- func (o GetKeysKeyListArrayOutput) ToGetKeysKeyListArrayOutput() GetKeysKeyListArrayOutput
- func (o GetKeysKeyListArrayOutput) ToGetKeysKeyListArrayOutputWithContext(ctx context.Context) GetKeysKeyListArrayOutput
- type GetKeysKeyListInput
- type GetKeysKeyListOutput
- func (o GetKeysKeyListOutput) Alias() pulumi.StringOutput
- func (o GetKeysKeyListOutput) CreateTime() pulumi.IntOutput
- func (o GetKeysKeyListOutput) CreatorUin() pulumi.IntOutput
- func (o GetKeysKeyListOutput) DeletionDate() pulumi.IntOutput
- func (o GetKeysKeyListOutput) Description() pulumi.StringOutput
- func (GetKeysKeyListOutput) ElementType() reflect.Type
- func (o GetKeysKeyListOutput) KeyId() pulumi.StringOutput
- func (o GetKeysKeyListOutput) KeyRotationEnabled() pulumi.BoolOutput
- func (o GetKeysKeyListOutput) KeyState() pulumi.StringOutput
- func (o GetKeysKeyListOutput) KeyUsage() pulumi.StringOutput
- func (o GetKeysKeyListOutput) NextRotateTime() pulumi.IntOutput
- func (o GetKeysKeyListOutput) Origin() pulumi.StringOutput
- func (o GetKeysKeyListOutput) Owner() pulumi.StringOutput
- func (o GetKeysKeyListOutput) ToGetKeysKeyListOutput() GetKeysKeyListOutput
- func (o GetKeysKeyListOutput) ToGetKeysKeyListOutputWithContext(ctx context.Context) GetKeysKeyListOutput
- func (o GetKeysKeyListOutput) ValidTo() pulumi.IntOutput
- type GetKeysOutputArgs
- type GetKeysResult
- type GetKeysResultOutput
- func (GetKeysResultOutput) ElementType() reflect.Type
- func (o GetKeysResultOutput) Id() pulumi.StringOutput
- func (o GetKeysResultOutput) KeyLists() GetKeysKeyListArrayOutput
- func (o GetKeysResultOutput) KeyState() pulumi.IntPtrOutput
- func (o GetKeysResultOutput) KeyUsage() pulumi.StringPtrOutput
- func (o GetKeysResultOutput) OrderType() pulumi.IntPtrOutput
- func (o GetKeysResultOutput) Origin() pulumi.StringPtrOutput
- func (o GetKeysResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetKeysResultOutput) Role() pulumi.IntPtrOutput
- func (o GetKeysResultOutput) SearchKeyAlias() pulumi.StringPtrOutput
- func (o GetKeysResultOutput) Tags() pulumi.MapOutput
- func (o GetKeysResultOutput) ToGetKeysResultOutput() GetKeysResultOutput
- func (o GetKeysResultOutput) ToGetKeysResultOutputWithContext(ctx context.Context) GetKeysResultOutput
- type GetPublicKeyArgs
- type GetPublicKeyOutputArgs
- type GetPublicKeyResult
- type GetPublicKeyResultOutput
- func (GetPublicKeyResultOutput) ElementType() reflect.Type
- func (o GetPublicKeyResultOutput) Id() pulumi.StringOutput
- func (o GetPublicKeyResultOutput) KeyId() pulumi.StringOutput
- func (o GetPublicKeyResultOutput) PublicKey() pulumi.StringOutput
- func (o GetPublicKeyResultOutput) PublicKeyPem() pulumi.StringOutput
- func (o GetPublicKeyResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetPublicKeyResultOutput) ToGetPublicKeyResultOutput() GetPublicKeyResultOutput
- func (o GetPublicKeyResultOutput) ToGetPublicKeyResultOutputWithContext(ctx context.Context) GetPublicKeyResultOutput
- type Key
- type KeyArgs
- type KeyArray
- type KeyArrayInput
- type KeyArrayOutput
- type KeyInput
- type KeyMap
- type KeyMapInput
- type KeyMapOutput
- type KeyOutput
- func (o KeyOutput) Alias() pulumi.StringOutput
- func (o KeyOutput) Description() pulumi.StringPtrOutput
- func (KeyOutput) ElementType() reflect.Type
- func (o KeyOutput) IsArchived() pulumi.BoolPtrOutput
- func (o KeyOutput) IsEnabled() pulumi.BoolPtrOutput
- func (o KeyOutput) KeyRotationEnabled() pulumi.BoolPtrOutput
- func (o KeyOutput) KeyState() pulumi.StringOutput
- func (o KeyOutput) KeyUsage() pulumi.StringPtrOutput
- func (o KeyOutput) PendingDeleteWindowInDays() pulumi.IntPtrOutput
- func (o KeyOutput) Tags() pulumi.MapOutput
- func (o KeyOutput) ToKeyOutput() KeyOutput
- func (o KeyOutput) ToKeyOutputWithContext(ctx context.Context) KeyOutput
- type KeyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalKey ¶
type ExternalKey struct { pulumi.CustomResourceState // Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be // a letter or number. Alias pulumi.StringOutput `pulumi:"alias"` // Description of CMK. The maximum is 1024 bytes. Description pulumi.StringPtrOutput `pulumi:"description"` // Specify whether to archive key. Default value is `false`. This field is conflict with `is_enabled`, valid when key_state // is `Enabled`, `Disabled`, `Archived`. IsArchived pulumi.BoolPtrOutput `pulumi:"isArchived"` // Specify whether to enable key. Default value is `false`. This field is conflict with `is_archived`, valid when key_state // is `Enabled`, `Disabled`, `Archived`. IsEnabled pulumi.BoolPtrOutput `pulumi:"isEnabled"` // The base64-encoded key material encrypted with the public_key. For regions using the national secret version, the length // of the imported key material is required to be 128 bits, and for regions using the FIPS version, the length of the // imported key material is required to be 256 bits. KeyMaterialBase64 pulumi.StringPtrOutput `pulumi:"keyMaterialBase64"` // State of CMK. KeyState pulumi.StringOutput `pulumi:"keyState"` // Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. // Defaults to 7 days. PendingDeleteWindowInDays pulumi.IntPtrOutput `pulumi:"pendingDeleteWindowInDays"` // Tags of CMK. Tags pulumi.MapOutput `pulumi:"tags"` // This value means the effective timestamp of the key material, 0 means it does not expire. Need to be greater than the // current timestamp, the maximum support is 2147443200. ValidTo pulumi.IntPtrOutput `pulumi:"validTo"` // The algorithm for encrypting key material. Available values include `RSAES_PKCS1_V1_5`, `RSAES_OAEP_SHA_1` and // `RSAES_OAEP_SHA_256`. Default value is `RSAES_PKCS1_V1_5`. WrappingAlgorithm pulumi.StringPtrOutput `pulumi:"wrappingAlgorithm"` }
func GetExternalKey ¶
func GetExternalKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ExternalKeyState, opts ...pulumi.ResourceOption) (*ExternalKey, error)
GetExternalKey gets an existing ExternalKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewExternalKey ¶
func NewExternalKey(ctx *pulumi.Context, name string, args *ExternalKeyArgs, opts ...pulumi.ResourceOption) (*ExternalKey, error)
NewExternalKey registers a new resource with the given unique name, arguments, and options.
func (*ExternalKey) ElementType ¶
func (*ExternalKey) ElementType() reflect.Type
func (*ExternalKey) ToExternalKeyOutput ¶
func (i *ExternalKey) ToExternalKeyOutput() ExternalKeyOutput
func (*ExternalKey) ToExternalKeyOutputWithContext ¶
func (i *ExternalKey) ToExternalKeyOutputWithContext(ctx context.Context) ExternalKeyOutput
type ExternalKeyArgs ¶
type ExternalKeyArgs struct { // Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be // a letter or number. Alias pulumi.StringInput // Description of CMK. The maximum is 1024 bytes. Description pulumi.StringPtrInput // Specify whether to archive key. Default value is `false`. This field is conflict with `is_enabled`, valid when key_state // is `Enabled`, `Disabled`, `Archived`. IsArchived pulumi.BoolPtrInput // Specify whether to enable key. Default value is `false`. This field is conflict with `is_archived`, valid when key_state // is `Enabled`, `Disabled`, `Archived`. IsEnabled pulumi.BoolPtrInput // The base64-encoded key material encrypted with the public_key. For regions using the national secret version, the length // of the imported key material is required to be 128 bits, and for regions using the FIPS version, the length of the // imported key material is required to be 256 bits. KeyMaterialBase64 pulumi.StringPtrInput // Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. // Defaults to 7 days. PendingDeleteWindowInDays pulumi.IntPtrInput // Tags of CMK. Tags pulumi.MapInput // This value means the effective timestamp of the key material, 0 means it does not expire. Need to be greater than the // current timestamp, the maximum support is 2147443200. ValidTo pulumi.IntPtrInput // The algorithm for encrypting key material. Available values include `RSAES_PKCS1_V1_5`, `RSAES_OAEP_SHA_1` and // `RSAES_OAEP_SHA_256`. Default value is `RSAES_PKCS1_V1_5`. WrappingAlgorithm pulumi.StringPtrInput }
The set of arguments for constructing a ExternalKey resource.
func (ExternalKeyArgs) ElementType ¶
func (ExternalKeyArgs) ElementType() reflect.Type
type ExternalKeyArray ¶
type ExternalKeyArray []ExternalKeyInput
func (ExternalKeyArray) ElementType ¶
func (ExternalKeyArray) ElementType() reflect.Type
func (ExternalKeyArray) ToExternalKeyArrayOutput ¶
func (i ExternalKeyArray) ToExternalKeyArrayOutput() ExternalKeyArrayOutput
func (ExternalKeyArray) ToExternalKeyArrayOutputWithContext ¶
func (i ExternalKeyArray) ToExternalKeyArrayOutputWithContext(ctx context.Context) ExternalKeyArrayOutput
type ExternalKeyArrayInput ¶
type ExternalKeyArrayInput interface { pulumi.Input ToExternalKeyArrayOutput() ExternalKeyArrayOutput ToExternalKeyArrayOutputWithContext(context.Context) ExternalKeyArrayOutput }
ExternalKeyArrayInput is an input type that accepts ExternalKeyArray and ExternalKeyArrayOutput values. You can construct a concrete instance of `ExternalKeyArrayInput` via:
ExternalKeyArray{ ExternalKeyArgs{...} }
type ExternalKeyArrayOutput ¶
type ExternalKeyArrayOutput struct{ *pulumi.OutputState }
func (ExternalKeyArrayOutput) ElementType ¶
func (ExternalKeyArrayOutput) ElementType() reflect.Type
func (ExternalKeyArrayOutput) Index ¶
func (o ExternalKeyArrayOutput) Index(i pulumi.IntInput) ExternalKeyOutput
func (ExternalKeyArrayOutput) ToExternalKeyArrayOutput ¶
func (o ExternalKeyArrayOutput) ToExternalKeyArrayOutput() ExternalKeyArrayOutput
func (ExternalKeyArrayOutput) ToExternalKeyArrayOutputWithContext ¶
func (o ExternalKeyArrayOutput) ToExternalKeyArrayOutputWithContext(ctx context.Context) ExternalKeyArrayOutput
type ExternalKeyInput ¶
type ExternalKeyInput interface { pulumi.Input ToExternalKeyOutput() ExternalKeyOutput ToExternalKeyOutputWithContext(ctx context.Context) ExternalKeyOutput }
type ExternalKeyMap ¶
type ExternalKeyMap map[string]ExternalKeyInput
func (ExternalKeyMap) ElementType ¶
func (ExternalKeyMap) ElementType() reflect.Type
func (ExternalKeyMap) ToExternalKeyMapOutput ¶
func (i ExternalKeyMap) ToExternalKeyMapOutput() ExternalKeyMapOutput
func (ExternalKeyMap) ToExternalKeyMapOutputWithContext ¶
func (i ExternalKeyMap) ToExternalKeyMapOutputWithContext(ctx context.Context) ExternalKeyMapOutput
type ExternalKeyMapInput ¶
type ExternalKeyMapInput interface { pulumi.Input ToExternalKeyMapOutput() ExternalKeyMapOutput ToExternalKeyMapOutputWithContext(context.Context) ExternalKeyMapOutput }
ExternalKeyMapInput is an input type that accepts ExternalKeyMap and ExternalKeyMapOutput values. You can construct a concrete instance of `ExternalKeyMapInput` via:
ExternalKeyMap{ "key": ExternalKeyArgs{...} }
type ExternalKeyMapOutput ¶
type ExternalKeyMapOutput struct{ *pulumi.OutputState }
func (ExternalKeyMapOutput) ElementType ¶
func (ExternalKeyMapOutput) ElementType() reflect.Type
func (ExternalKeyMapOutput) MapIndex ¶
func (o ExternalKeyMapOutput) MapIndex(k pulumi.StringInput) ExternalKeyOutput
func (ExternalKeyMapOutput) ToExternalKeyMapOutput ¶
func (o ExternalKeyMapOutput) ToExternalKeyMapOutput() ExternalKeyMapOutput
func (ExternalKeyMapOutput) ToExternalKeyMapOutputWithContext ¶
func (o ExternalKeyMapOutput) ToExternalKeyMapOutputWithContext(ctx context.Context) ExternalKeyMapOutput
type ExternalKeyOutput ¶
type ExternalKeyOutput struct{ *pulumi.OutputState }
func (ExternalKeyOutput) Alias ¶
func (o ExternalKeyOutput) Alias() pulumi.StringOutput
Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
func (ExternalKeyOutput) Description ¶
func (o ExternalKeyOutput) Description() pulumi.StringPtrOutput
Description of CMK. The maximum is 1024 bytes.
func (ExternalKeyOutput) ElementType ¶
func (ExternalKeyOutput) ElementType() reflect.Type
func (ExternalKeyOutput) IsArchived ¶
func (o ExternalKeyOutput) IsArchived() pulumi.BoolPtrOutput
Specify whether to archive key. Default value is `false`. This field is conflict with `is_enabled`, valid when key_state is `Enabled`, `Disabled`, `Archived`.
func (ExternalKeyOutput) IsEnabled ¶
func (o ExternalKeyOutput) IsEnabled() pulumi.BoolPtrOutput
Specify whether to enable key. Default value is `false`. This field is conflict with `is_archived`, valid when key_state is `Enabled`, `Disabled`, `Archived`.
func (ExternalKeyOutput) KeyMaterialBase64 ¶
func (o ExternalKeyOutput) KeyMaterialBase64() pulumi.StringPtrOutput
The base64-encoded key material encrypted with the public_key. For regions using the national secret version, the length of the imported key material is required to be 128 bits, and for regions using the FIPS version, the length of the imported key material is required to be 256 bits.
func (ExternalKeyOutput) KeyState ¶
func (o ExternalKeyOutput) KeyState() pulumi.StringOutput
State of CMK.
func (ExternalKeyOutput) PendingDeleteWindowInDays ¶
func (o ExternalKeyOutput) PendingDeleteWindowInDays() pulumi.IntPtrOutput
Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 7 days.
func (ExternalKeyOutput) ToExternalKeyOutput ¶
func (o ExternalKeyOutput) ToExternalKeyOutput() ExternalKeyOutput
func (ExternalKeyOutput) ToExternalKeyOutputWithContext ¶
func (o ExternalKeyOutput) ToExternalKeyOutputWithContext(ctx context.Context) ExternalKeyOutput
func (ExternalKeyOutput) ValidTo ¶
func (o ExternalKeyOutput) ValidTo() pulumi.IntPtrOutput
This value means the effective timestamp of the key material, 0 means it does not expire. Need to be greater than the current timestamp, the maximum support is 2147443200.
func (ExternalKeyOutput) WrappingAlgorithm ¶
func (o ExternalKeyOutput) WrappingAlgorithm() pulumi.StringPtrOutput
The algorithm for encrypting key material. Available values include `RSAES_PKCS1_V1_5`, `RSAES_OAEP_SHA_1` and `RSAES_OAEP_SHA_256`. Default value is `RSAES_PKCS1_V1_5`.
type ExternalKeyState ¶
type ExternalKeyState struct { // Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be // a letter or number. Alias pulumi.StringPtrInput // Description of CMK. The maximum is 1024 bytes. Description pulumi.StringPtrInput // Specify whether to archive key. Default value is `false`. This field is conflict with `is_enabled`, valid when key_state // is `Enabled`, `Disabled`, `Archived`. IsArchived pulumi.BoolPtrInput // Specify whether to enable key. Default value is `false`. This field is conflict with `is_archived`, valid when key_state // is `Enabled`, `Disabled`, `Archived`. IsEnabled pulumi.BoolPtrInput // The base64-encoded key material encrypted with the public_key. For regions using the national secret version, the length // of the imported key material is required to be 128 bits, and for regions using the FIPS version, the length of the // imported key material is required to be 256 bits. KeyMaterialBase64 pulumi.StringPtrInput // State of CMK. KeyState pulumi.StringPtrInput // Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. // Defaults to 7 days. PendingDeleteWindowInDays pulumi.IntPtrInput // Tags of CMK. Tags pulumi.MapInput // This value means the effective timestamp of the key material, 0 means it does not expire. Need to be greater than the // current timestamp, the maximum support is 2147443200. ValidTo pulumi.IntPtrInput // The algorithm for encrypting key material. Available values include `RSAES_PKCS1_V1_5`, `RSAES_OAEP_SHA_1` and // `RSAES_OAEP_SHA_256`. Default value is `RSAES_PKCS1_V1_5`. WrappingAlgorithm pulumi.StringPtrInput }
func (ExternalKeyState) ElementType ¶
func (ExternalKeyState) ElementType() reflect.Type
type GetGetParametersForImportArgs ¶
type GetGetParametersForImportArgs struct { KeyId string `pulumi:"keyId"` ResultOutputFile *string `pulumi:"resultOutputFile"` WrappingAlgorithm string `pulumi:"wrappingAlgorithm"` WrappingKeySpec string `pulumi:"wrappingKeySpec"` }
A collection of arguments for invoking getGetParametersForImport.
type GetGetParametersForImportOutputArgs ¶
type GetGetParametersForImportOutputArgs struct { KeyId pulumi.StringInput `pulumi:"keyId"` ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` WrappingAlgorithm pulumi.StringInput `pulumi:"wrappingAlgorithm"` WrappingKeySpec pulumi.StringInput `pulumi:"wrappingKeySpec"` }
A collection of arguments for invoking getGetParametersForImport.
func (GetGetParametersForImportOutputArgs) ElementType ¶
func (GetGetParametersForImportOutputArgs) ElementType() reflect.Type
type GetGetParametersForImportResult ¶
type GetGetParametersForImportResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ImportToken string `pulumi:"importToken"` KeyId string `pulumi:"keyId"` ParametersValidTo int `pulumi:"parametersValidTo"` PublicKey string `pulumi:"publicKey"` ResultOutputFile *string `pulumi:"resultOutputFile"` WrappingAlgorithm string `pulumi:"wrappingAlgorithm"` WrappingKeySpec string `pulumi:"wrappingKeySpec"` }
A collection of values returned by getGetParametersForImport.
func GetGetParametersForImport ¶
func GetGetParametersForImport(ctx *pulumi.Context, args *GetGetParametersForImportArgs, opts ...pulumi.InvokeOption) (*GetGetParametersForImportResult, error)
type GetGetParametersForImportResultOutput ¶
type GetGetParametersForImportResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGetParametersForImport.
func GetGetParametersForImportOutput ¶
func GetGetParametersForImportOutput(ctx *pulumi.Context, args GetGetParametersForImportOutputArgs, opts ...pulumi.InvokeOption) GetGetParametersForImportResultOutput
func (GetGetParametersForImportResultOutput) ElementType ¶
func (GetGetParametersForImportResultOutput) ElementType() reflect.Type
func (GetGetParametersForImportResultOutput) Id ¶
func (o GetGetParametersForImportResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetGetParametersForImportResultOutput) ImportToken ¶
func (o GetGetParametersForImportResultOutput) ImportToken() pulumi.StringOutput
func (GetGetParametersForImportResultOutput) KeyId ¶
func (o GetGetParametersForImportResultOutput) KeyId() pulumi.StringOutput
func (GetGetParametersForImportResultOutput) ParametersValidTo ¶
func (o GetGetParametersForImportResultOutput) ParametersValidTo() pulumi.IntOutput
func (GetGetParametersForImportResultOutput) PublicKey ¶
func (o GetGetParametersForImportResultOutput) PublicKey() pulumi.StringOutput
func (GetGetParametersForImportResultOutput) ResultOutputFile ¶
func (o GetGetParametersForImportResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetGetParametersForImportResultOutput) ToGetGetParametersForImportResultOutput ¶
func (o GetGetParametersForImportResultOutput) ToGetGetParametersForImportResultOutput() GetGetParametersForImportResultOutput
func (GetGetParametersForImportResultOutput) ToGetGetParametersForImportResultOutputWithContext ¶
func (o GetGetParametersForImportResultOutput) ToGetGetParametersForImportResultOutputWithContext(ctx context.Context) GetGetParametersForImportResultOutput
func (GetGetParametersForImportResultOutput) WrappingAlgorithm ¶
func (o GetGetParametersForImportResultOutput) WrappingAlgorithm() pulumi.StringOutput
func (GetGetParametersForImportResultOutput) WrappingKeySpec ¶
func (o GetGetParametersForImportResultOutput) WrappingKeySpec() pulumi.StringOutput
type GetKeysArgs ¶
type GetKeysArgs struct { KeyState *int `pulumi:"keyState"` KeyUsage *string `pulumi:"keyUsage"` OrderType *int `pulumi:"orderType"` Origin *string `pulumi:"origin"` ResultOutputFile *string `pulumi:"resultOutputFile"` Role *int `pulumi:"role"` SearchKeyAlias *string `pulumi:"searchKeyAlias"` Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getKeys.
type GetKeysKeyList ¶
type GetKeysKeyList struct { Alias string `pulumi:"alias"` CreateTime int `pulumi:"createTime"` CreatorUin int `pulumi:"creatorUin"` DeletionDate int `pulumi:"deletionDate"` Description string `pulumi:"description"` KeyId string `pulumi:"keyId"` KeyRotationEnabled bool `pulumi:"keyRotationEnabled"` KeyState string `pulumi:"keyState"` KeyUsage string `pulumi:"keyUsage"` NextRotateTime int `pulumi:"nextRotateTime"` Origin string `pulumi:"origin"` Owner string `pulumi:"owner"` ValidTo int `pulumi:"validTo"` }
type GetKeysKeyListArgs ¶
type GetKeysKeyListArgs struct { Alias pulumi.StringInput `pulumi:"alias"` CreateTime pulumi.IntInput `pulumi:"createTime"` CreatorUin pulumi.IntInput `pulumi:"creatorUin"` DeletionDate pulumi.IntInput `pulumi:"deletionDate"` Description pulumi.StringInput `pulumi:"description"` KeyId pulumi.StringInput `pulumi:"keyId"` KeyRotationEnabled pulumi.BoolInput `pulumi:"keyRotationEnabled"` KeyState pulumi.StringInput `pulumi:"keyState"` KeyUsage pulumi.StringInput `pulumi:"keyUsage"` NextRotateTime pulumi.IntInput `pulumi:"nextRotateTime"` Origin pulumi.StringInput `pulumi:"origin"` Owner pulumi.StringInput `pulumi:"owner"` ValidTo pulumi.IntInput `pulumi:"validTo"` }
func (GetKeysKeyListArgs) ElementType ¶
func (GetKeysKeyListArgs) ElementType() reflect.Type
func (GetKeysKeyListArgs) ToGetKeysKeyListOutput ¶
func (i GetKeysKeyListArgs) ToGetKeysKeyListOutput() GetKeysKeyListOutput
func (GetKeysKeyListArgs) ToGetKeysKeyListOutputWithContext ¶
func (i GetKeysKeyListArgs) ToGetKeysKeyListOutputWithContext(ctx context.Context) GetKeysKeyListOutput
type GetKeysKeyListArray ¶
type GetKeysKeyListArray []GetKeysKeyListInput
func (GetKeysKeyListArray) ElementType ¶
func (GetKeysKeyListArray) ElementType() reflect.Type
func (GetKeysKeyListArray) ToGetKeysKeyListArrayOutput ¶
func (i GetKeysKeyListArray) ToGetKeysKeyListArrayOutput() GetKeysKeyListArrayOutput
func (GetKeysKeyListArray) ToGetKeysKeyListArrayOutputWithContext ¶
func (i GetKeysKeyListArray) ToGetKeysKeyListArrayOutputWithContext(ctx context.Context) GetKeysKeyListArrayOutput
type GetKeysKeyListArrayInput ¶
type GetKeysKeyListArrayInput interface { pulumi.Input ToGetKeysKeyListArrayOutput() GetKeysKeyListArrayOutput ToGetKeysKeyListArrayOutputWithContext(context.Context) GetKeysKeyListArrayOutput }
GetKeysKeyListArrayInput is an input type that accepts GetKeysKeyListArray and GetKeysKeyListArrayOutput values. You can construct a concrete instance of `GetKeysKeyListArrayInput` via:
GetKeysKeyListArray{ GetKeysKeyListArgs{...} }
type GetKeysKeyListArrayOutput ¶
type GetKeysKeyListArrayOutput struct{ *pulumi.OutputState }
func (GetKeysKeyListArrayOutput) ElementType ¶
func (GetKeysKeyListArrayOutput) ElementType() reflect.Type
func (GetKeysKeyListArrayOutput) Index ¶
func (o GetKeysKeyListArrayOutput) Index(i pulumi.IntInput) GetKeysKeyListOutput
func (GetKeysKeyListArrayOutput) ToGetKeysKeyListArrayOutput ¶
func (o GetKeysKeyListArrayOutput) ToGetKeysKeyListArrayOutput() GetKeysKeyListArrayOutput
func (GetKeysKeyListArrayOutput) ToGetKeysKeyListArrayOutputWithContext ¶
func (o GetKeysKeyListArrayOutput) ToGetKeysKeyListArrayOutputWithContext(ctx context.Context) GetKeysKeyListArrayOutput
type GetKeysKeyListInput ¶
type GetKeysKeyListInput interface { pulumi.Input ToGetKeysKeyListOutput() GetKeysKeyListOutput ToGetKeysKeyListOutputWithContext(context.Context) GetKeysKeyListOutput }
GetKeysKeyListInput is an input type that accepts GetKeysKeyListArgs and GetKeysKeyListOutput values. You can construct a concrete instance of `GetKeysKeyListInput` via:
GetKeysKeyListArgs{...}
type GetKeysKeyListOutput ¶
type GetKeysKeyListOutput struct{ *pulumi.OutputState }
func (GetKeysKeyListOutput) Alias ¶
func (o GetKeysKeyListOutput) Alias() pulumi.StringOutput
func (GetKeysKeyListOutput) CreateTime ¶
func (o GetKeysKeyListOutput) CreateTime() pulumi.IntOutput
func (GetKeysKeyListOutput) CreatorUin ¶
func (o GetKeysKeyListOutput) CreatorUin() pulumi.IntOutput
func (GetKeysKeyListOutput) DeletionDate ¶
func (o GetKeysKeyListOutput) DeletionDate() pulumi.IntOutput
func (GetKeysKeyListOutput) Description ¶
func (o GetKeysKeyListOutput) Description() pulumi.StringOutput
func (GetKeysKeyListOutput) ElementType ¶
func (GetKeysKeyListOutput) ElementType() reflect.Type
func (GetKeysKeyListOutput) KeyId ¶
func (o GetKeysKeyListOutput) KeyId() pulumi.StringOutput
func (GetKeysKeyListOutput) KeyRotationEnabled ¶
func (o GetKeysKeyListOutput) KeyRotationEnabled() pulumi.BoolOutput
func (GetKeysKeyListOutput) KeyState ¶
func (o GetKeysKeyListOutput) KeyState() pulumi.StringOutput
func (GetKeysKeyListOutput) KeyUsage ¶
func (o GetKeysKeyListOutput) KeyUsage() pulumi.StringOutput
func (GetKeysKeyListOutput) NextRotateTime ¶
func (o GetKeysKeyListOutput) NextRotateTime() pulumi.IntOutput
func (GetKeysKeyListOutput) Origin ¶
func (o GetKeysKeyListOutput) Origin() pulumi.StringOutput
func (GetKeysKeyListOutput) Owner ¶
func (o GetKeysKeyListOutput) Owner() pulumi.StringOutput
func (GetKeysKeyListOutput) ToGetKeysKeyListOutput ¶
func (o GetKeysKeyListOutput) ToGetKeysKeyListOutput() GetKeysKeyListOutput
func (GetKeysKeyListOutput) ToGetKeysKeyListOutputWithContext ¶
func (o GetKeysKeyListOutput) ToGetKeysKeyListOutputWithContext(ctx context.Context) GetKeysKeyListOutput
func (GetKeysKeyListOutput) ValidTo ¶
func (o GetKeysKeyListOutput) ValidTo() pulumi.IntOutput
type GetKeysOutputArgs ¶
type GetKeysOutputArgs struct { KeyState pulumi.IntPtrInput `pulumi:"keyState"` KeyUsage pulumi.StringPtrInput `pulumi:"keyUsage"` OrderType pulumi.IntPtrInput `pulumi:"orderType"` Origin pulumi.StringPtrInput `pulumi:"origin"` ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` Role pulumi.IntPtrInput `pulumi:"role"` SearchKeyAlias pulumi.StringPtrInput `pulumi:"searchKeyAlias"` Tags pulumi.MapInput `pulumi:"tags"` }
A collection of arguments for invoking getKeys.
func (GetKeysOutputArgs) ElementType ¶
func (GetKeysOutputArgs) ElementType() reflect.Type
type GetKeysResult ¶
type GetKeysResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` KeyLists []GetKeysKeyList `pulumi:"keyLists"` KeyState *int `pulumi:"keyState"` KeyUsage *string `pulumi:"keyUsage"` OrderType *int `pulumi:"orderType"` Origin *string `pulumi:"origin"` ResultOutputFile *string `pulumi:"resultOutputFile"` Role *int `pulumi:"role"` SearchKeyAlias *string `pulumi:"searchKeyAlias"` Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getKeys.
func GetKeys ¶
func GetKeys(ctx *pulumi.Context, args *GetKeysArgs, opts ...pulumi.InvokeOption) (*GetKeysResult, error)
type GetKeysResultOutput ¶
type GetKeysResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getKeys.
func GetKeysOutput ¶
func GetKeysOutput(ctx *pulumi.Context, args GetKeysOutputArgs, opts ...pulumi.InvokeOption) GetKeysResultOutput
func (GetKeysResultOutput) ElementType ¶
func (GetKeysResultOutput) ElementType() reflect.Type
func (GetKeysResultOutput) Id ¶
func (o GetKeysResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetKeysResultOutput) KeyLists ¶
func (o GetKeysResultOutput) KeyLists() GetKeysKeyListArrayOutput
func (GetKeysResultOutput) KeyState ¶
func (o GetKeysResultOutput) KeyState() pulumi.IntPtrOutput
func (GetKeysResultOutput) KeyUsage ¶
func (o GetKeysResultOutput) KeyUsage() pulumi.StringPtrOutput
func (GetKeysResultOutput) OrderType ¶
func (o GetKeysResultOutput) OrderType() pulumi.IntPtrOutput
func (GetKeysResultOutput) Origin ¶
func (o GetKeysResultOutput) Origin() pulumi.StringPtrOutput
func (GetKeysResultOutput) ResultOutputFile ¶
func (o GetKeysResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetKeysResultOutput) Role ¶
func (o GetKeysResultOutput) Role() pulumi.IntPtrOutput
func (GetKeysResultOutput) SearchKeyAlias ¶
func (o GetKeysResultOutput) SearchKeyAlias() pulumi.StringPtrOutput
func (GetKeysResultOutput) Tags ¶
func (o GetKeysResultOutput) Tags() pulumi.MapOutput
func (GetKeysResultOutput) ToGetKeysResultOutput ¶
func (o GetKeysResultOutput) ToGetKeysResultOutput() GetKeysResultOutput
func (GetKeysResultOutput) ToGetKeysResultOutputWithContext ¶
func (o GetKeysResultOutput) ToGetKeysResultOutputWithContext(ctx context.Context) GetKeysResultOutput
type GetPublicKeyArgs ¶
type GetPublicKeyArgs struct { KeyId string `pulumi:"keyId"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getPublicKey.
type GetPublicKeyOutputArgs ¶
type GetPublicKeyOutputArgs struct { KeyId pulumi.StringInput `pulumi:"keyId"` ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getPublicKey.
func (GetPublicKeyOutputArgs) ElementType ¶
func (GetPublicKeyOutputArgs) ElementType() reflect.Type
type GetPublicKeyResult ¶
type GetPublicKeyResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` KeyId string `pulumi:"keyId"` PublicKey string `pulumi:"publicKey"` PublicKeyPem string `pulumi:"publicKeyPem"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getPublicKey.
func GetPublicKey ¶
func GetPublicKey(ctx *pulumi.Context, args *GetPublicKeyArgs, opts ...pulumi.InvokeOption) (*GetPublicKeyResult, error)
type GetPublicKeyResultOutput ¶
type GetPublicKeyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPublicKey.
func GetPublicKeyOutput ¶
func GetPublicKeyOutput(ctx *pulumi.Context, args GetPublicKeyOutputArgs, opts ...pulumi.InvokeOption) GetPublicKeyResultOutput
func (GetPublicKeyResultOutput) ElementType ¶
func (GetPublicKeyResultOutput) ElementType() reflect.Type
func (GetPublicKeyResultOutput) Id ¶
func (o GetPublicKeyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPublicKeyResultOutput) KeyId ¶
func (o GetPublicKeyResultOutput) KeyId() pulumi.StringOutput
func (GetPublicKeyResultOutput) PublicKey ¶
func (o GetPublicKeyResultOutput) PublicKey() pulumi.StringOutput
func (GetPublicKeyResultOutput) PublicKeyPem ¶
func (o GetPublicKeyResultOutput) PublicKeyPem() pulumi.StringOutput
func (GetPublicKeyResultOutput) ResultOutputFile ¶
func (o GetPublicKeyResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetPublicKeyResultOutput) ToGetPublicKeyResultOutput ¶
func (o GetPublicKeyResultOutput) ToGetPublicKeyResultOutput() GetPublicKeyResultOutput
func (GetPublicKeyResultOutput) ToGetPublicKeyResultOutputWithContext ¶
func (o GetPublicKeyResultOutput) ToGetPublicKeyResultOutputWithContext(ctx context.Context) GetPublicKeyResultOutput
type Key ¶
type Key struct { pulumi.CustomResourceState // Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be // a letter or number. Alias pulumi.StringOutput `pulumi:"alias"` // Description of CMK. The maximum is 1024 bytes. Description pulumi.StringPtrOutput `pulumi:"description"` // Specify whether to archive key. Default value is `false`. This field is conflict with `is_enabled`, valid when key_state // is `Enabled`, `Disabled`, `Archived`. IsArchived pulumi.BoolPtrOutput `pulumi:"isArchived"` // Specify whether to enable key. Default value is `false`. This field is conflict with `is_archived`, valid when key_state // is `Enabled`, `Disabled`, `Archived`. IsEnabled pulumi.BoolPtrOutput `pulumi:"isEnabled"` // Specify whether to enable key rotation, valid when key_usage is `ENCRYPT_DECRYPT`. Default value is `false`. KeyRotationEnabled pulumi.BoolPtrOutput `pulumi:"keyRotationEnabled"` // State of CMK. KeyState pulumi.StringOutput `pulumi:"keyState"` // Usage of CMK. Available values include `ENCRYPT_DECRYPT`, `ASYMMETRIC_DECRYPT_RSA_2048`, `ASYMMETRIC_DECRYPT_SM2`, // `ASYMMETRIC_SIGN_VERIFY_SM2`, `ASYMMETRIC_SIGN_VERIFY_RSA_2048`, `ASYMMETRIC_SIGN_VERIFY_ECC`. Default value is // `ENCRYPT_DECRYPT`. KeyUsage pulumi.StringPtrOutput `pulumi:"keyUsage"` // Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. // Defaults to 7 days. PendingDeleteWindowInDays pulumi.IntPtrOutput `pulumi:"pendingDeleteWindowInDays"` // Tags of CMK. Tags pulumi.MapOutput `pulumi:"tags"` }
func GetKey ¶
func GetKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KeyState, opts ...pulumi.ResourceOption) (*Key, error)
GetKey gets an existing Key resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewKey ¶
func NewKey(ctx *pulumi.Context, name string, args *KeyArgs, opts ...pulumi.ResourceOption) (*Key, error)
NewKey registers a new resource with the given unique name, arguments, and options.
func (*Key) ElementType ¶
func (*Key) ToKeyOutput ¶
type KeyArgs ¶
type KeyArgs struct { // Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be // a letter or number. Alias pulumi.StringInput // Description of CMK. The maximum is 1024 bytes. Description pulumi.StringPtrInput // Specify whether to archive key. Default value is `false`. This field is conflict with `is_enabled`, valid when key_state // is `Enabled`, `Disabled`, `Archived`. IsArchived pulumi.BoolPtrInput // Specify whether to enable key. Default value is `false`. This field is conflict with `is_archived`, valid when key_state // is `Enabled`, `Disabled`, `Archived`. IsEnabled pulumi.BoolPtrInput // Specify whether to enable key rotation, valid when key_usage is `ENCRYPT_DECRYPT`. Default value is `false`. KeyRotationEnabled pulumi.BoolPtrInput // Usage of CMK. Available values include `ENCRYPT_DECRYPT`, `ASYMMETRIC_DECRYPT_RSA_2048`, `ASYMMETRIC_DECRYPT_SM2`, // `ASYMMETRIC_SIGN_VERIFY_SM2`, `ASYMMETRIC_SIGN_VERIFY_RSA_2048`, `ASYMMETRIC_SIGN_VERIFY_ECC`. Default value is // `ENCRYPT_DECRYPT`. KeyUsage pulumi.StringPtrInput // Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. // Defaults to 7 days. PendingDeleteWindowInDays pulumi.IntPtrInput // Tags of CMK. Tags pulumi.MapInput }
The set of arguments for constructing a Key resource.
func (KeyArgs) ElementType ¶
type KeyArray ¶
type KeyArray []KeyInput
func (KeyArray) ElementType ¶
func (KeyArray) ToKeyArrayOutput ¶
func (i KeyArray) ToKeyArrayOutput() KeyArrayOutput
func (KeyArray) ToKeyArrayOutputWithContext ¶
func (i KeyArray) ToKeyArrayOutputWithContext(ctx context.Context) KeyArrayOutput
type KeyArrayInput ¶
type KeyArrayInput interface { pulumi.Input ToKeyArrayOutput() KeyArrayOutput ToKeyArrayOutputWithContext(context.Context) KeyArrayOutput }
KeyArrayInput is an input type that accepts KeyArray and KeyArrayOutput values. You can construct a concrete instance of `KeyArrayInput` via:
KeyArray{ KeyArgs{...} }
type KeyArrayOutput ¶
type KeyArrayOutput struct{ *pulumi.OutputState }
func (KeyArrayOutput) ElementType ¶
func (KeyArrayOutput) ElementType() reflect.Type
func (KeyArrayOutput) ToKeyArrayOutput ¶
func (o KeyArrayOutput) ToKeyArrayOutput() KeyArrayOutput
func (KeyArrayOutput) ToKeyArrayOutputWithContext ¶
func (o KeyArrayOutput) ToKeyArrayOutputWithContext(ctx context.Context) KeyArrayOutput
type KeyMap ¶
func (KeyMap) ElementType ¶
func (KeyMap) ToKeyMapOutput ¶
func (i KeyMap) ToKeyMapOutput() KeyMapOutput
func (KeyMap) ToKeyMapOutputWithContext ¶
func (i KeyMap) ToKeyMapOutputWithContext(ctx context.Context) KeyMapOutput
type KeyMapInput ¶
type KeyMapInput interface { pulumi.Input ToKeyMapOutput() KeyMapOutput ToKeyMapOutputWithContext(context.Context) KeyMapOutput }
KeyMapInput is an input type that accepts KeyMap and KeyMapOutput values. You can construct a concrete instance of `KeyMapInput` via:
KeyMap{ "key": KeyArgs{...} }
type KeyMapOutput ¶
type KeyMapOutput struct{ *pulumi.OutputState }
func (KeyMapOutput) ElementType ¶
func (KeyMapOutput) ElementType() reflect.Type
func (KeyMapOutput) MapIndex ¶
func (o KeyMapOutput) MapIndex(k pulumi.StringInput) KeyOutput
func (KeyMapOutput) ToKeyMapOutput ¶
func (o KeyMapOutput) ToKeyMapOutput() KeyMapOutput
func (KeyMapOutput) ToKeyMapOutputWithContext ¶
func (o KeyMapOutput) ToKeyMapOutputWithContext(ctx context.Context) KeyMapOutput
type KeyOutput ¶
type KeyOutput struct{ *pulumi.OutputState }
func (KeyOutput) Alias ¶
func (o KeyOutput) Alias() pulumi.StringOutput
Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
func (KeyOutput) Description ¶
func (o KeyOutput) Description() pulumi.StringPtrOutput
Description of CMK. The maximum is 1024 bytes.
func (KeyOutput) ElementType ¶
func (KeyOutput) IsArchived ¶
func (o KeyOutput) IsArchived() pulumi.BoolPtrOutput
Specify whether to archive key. Default value is `false`. This field is conflict with `is_enabled`, valid when key_state is `Enabled`, `Disabled`, `Archived`.
func (KeyOutput) IsEnabled ¶
func (o KeyOutput) IsEnabled() pulumi.BoolPtrOutput
Specify whether to enable key. Default value is `false`. This field is conflict with `is_archived`, valid when key_state is `Enabled`, `Disabled`, `Archived`.
func (KeyOutput) KeyRotationEnabled ¶
func (o KeyOutput) KeyRotationEnabled() pulumi.BoolPtrOutput
Specify whether to enable key rotation, valid when key_usage is `ENCRYPT_DECRYPT`. Default value is `false`.
func (KeyOutput) KeyUsage ¶
func (o KeyOutput) KeyUsage() pulumi.StringPtrOutput
Usage of CMK. Available values include `ENCRYPT_DECRYPT`, `ASYMMETRIC_DECRYPT_RSA_2048`, `ASYMMETRIC_DECRYPT_SM2`, `ASYMMETRIC_SIGN_VERIFY_SM2`, `ASYMMETRIC_SIGN_VERIFY_RSA_2048`, `ASYMMETRIC_SIGN_VERIFY_ECC`. Default value is `ENCRYPT_DECRYPT`.
func (KeyOutput) PendingDeleteWindowInDays ¶
func (o KeyOutput) PendingDeleteWindowInDays() pulumi.IntPtrOutput
Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 7 days.
func (KeyOutput) ToKeyOutput ¶
type KeyState ¶
type KeyState struct { // Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be // a letter or number. Alias pulumi.StringPtrInput // Description of CMK. The maximum is 1024 bytes. Description pulumi.StringPtrInput // Specify whether to archive key. Default value is `false`. This field is conflict with `is_enabled`, valid when key_state // is `Enabled`, `Disabled`, `Archived`. IsArchived pulumi.BoolPtrInput // Specify whether to enable key. Default value is `false`. This field is conflict with `is_archived`, valid when key_state // is `Enabled`, `Disabled`, `Archived`. IsEnabled pulumi.BoolPtrInput // Specify whether to enable key rotation, valid when key_usage is `ENCRYPT_DECRYPT`. Default value is `false`. KeyRotationEnabled pulumi.BoolPtrInput // State of CMK. KeyState pulumi.StringPtrInput // Usage of CMK. Available values include `ENCRYPT_DECRYPT`, `ASYMMETRIC_DECRYPT_RSA_2048`, `ASYMMETRIC_DECRYPT_SM2`, // `ASYMMETRIC_SIGN_VERIFY_SM2`, `ASYMMETRIC_SIGN_VERIFY_RSA_2048`, `ASYMMETRIC_SIGN_VERIFY_ECC`. Default value is // `ENCRYPT_DECRYPT`. KeyUsage pulumi.StringPtrInput // Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. // Defaults to 7 days. PendingDeleteWindowInDays pulumi.IntPtrInput // Tags of CMK. Tags pulumi.MapInput }