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 KeysArgs
- type KeysKeyList
- type KeysKeyListArgs
- type KeysKeyListArray
- type KeysKeyListArrayInput
- type KeysKeyListArrayOutput
- func (KeysKeyListArrayOutput) ElementType() reflect.Type
- func (o KeysKeyListArrayOutput) Index(i pulumi.IntInput) KeysKeyListOutput
- func (o KeysKeyListArrayOutput) ToKeysKeyListArrayOutput() KeysKeyListArrayOutput
- func (o KeysKeyListArrayOutput) ToKeysKeyListArrayOutputWithContext(ctx context.Context) KeysKeyListArrayOutput
- type KeysKeyListInput
- type KeysKeyListOutput
- func (o KeysKeyListOutput) Alias() pulumi.StringOutput
- func (o KeysKeyListOutput) CreateTime() pulumi.IntOutput
- func (o KeysKeyListOutput) CreatorUin() pulumi.IntOutput
- func (o KeysKeyListOutput) DeletionDate() pulumi.IntOutput
- func (o KeysKeyListOutput) Description() pulumi.StringOutput
- func (KeysKeyListOutput) ElementType() reflect.Type
- func (o KeysKeyListOutput) KeyId() pulumi.StringOutput
- func (o KeysKeyListOutput) KeyRotationEnabled() pulumi.BoolOutput
- func (o KeysKeyListOutput) KeyState() pulumi.StringOutput
- func (o KeysKeyListOutput) KeyUsage() pulumi.StringOutput
- func (o KeysKeyListOutput) NextRotateTime() pulumi.IntOutput
- func (o KeysKeyListOutput) Origin() pulumi.StringOutput
- func (o KeysKeyListOutput) Owner() pulumi.StringOutput
- func (o KeysKeyListOutput) ToKeysKeyListOutput() KeysKeyListOutput
- func (o KeysKeyListOutput) ToKeysKeyListOutputWithContext(ctx context.Context) KeysKeyListOutput
- func (o KeysKeyListOutput) ValidTo() pulumi.IntOutput
- type KeysOutputArgs
- type KeysResult
- type KeysResultOutput
- func (KeysResultOutput) ElementType() reflect.Type
- func (o KeysResultOutput) Id() pulumi.StringOutput
- func (o KeysResultOutput) KeyLists() KeysKeyListArrayOutput
- func (o KeysResultOutput) KeyState() pulumi.IntPtrOutput
- func (o KeysResultOutput) KeyUsage() pulumi.StringPtrOutput
- func (o KeysResultOutput) OrderType() pulumi.IntPtrOutput
- func (o KeysResultOutput) Origin() pulumi.StringPtrOutput
- func (o KeysResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o KeysResultOutput) Role() pulumi.IntPtrOutput
- func (o KeysResultOutput) SearchKeyAlias() pulumi.StringPtrOutput
- func (o KeysResultOutput) Tags() pulumi.MapOutput
- func (o KeysResultOutput) ToKeysResultOutput() KeysResultOutput
- func (o KeysResultOutput) ToKeysResultOutputWithContext(ctx context.Context) KeysResultOutput
- type KmsKey
- type KmsKeyArgs
- type KmsKeyArray
- type KmsKeyArrayInput
- type KmsKeyArrayOutput
- type KmsKeyInput
- type KmsKeyMap
- type KmsKeyMapInput
- type KmsKeyMapOutput
- type KmsKeyOutput
- func (o KmsKeyOutput) Alias() pulumi.StringOutput
- func (o KmsKeyOutput) Description() pulumi.StringPtrOutput
- func (KmsKeyOutput) ElementType() reflect.Type
- func (o KmsKeyOutput) IsArchived() pulumi.BoolPtrOutput
- func (o KmsKeyOutput) IsEnabled() pulumi.BoolPtrOutput
- func (o KmsKeyOutput) KeyRotationEnabled() pulumi.BoolPtrOutput
- func (o KmsKeyOutput) KeyState() pulumi.StringOutput
- func (o KmsKeyOutput) KeyUsage() pulumi.StringPtrOutput
- func (o KmsKeyOutput) PendingDeleteWindowInDays() pulumi.IntPtrOutput
- func (o KmsKeyOutput) Tags() pulumi.MapOutput
- func (o KmsKeyOutput) ToKmsKeyOutput() KmsKeyOutput
- func (o KmsKeyOutput) ToKmsKeyOutputWithContext(ctx context.Context) KmsKeyOutput
- type KmsKeyState
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 KeysArgs ¶
type KeysArgs 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 Keys.
type KeysKeyList ¶
type KeysKeyList 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 KeysKeyListArgs ¶
type KeysKeyListArgs 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 (KeysKeyListArgs) ElementType ¶
func (KeysKeyListArgs) ElementType() reflect.Type
func (KeysKeyListArgs) ToKeysKeyListOutput ¶
func (i KeysKeyListArgs) ToKeysKeyListOutput() KeysKeyListOutput
func (KeysKeyListArgs) ToKeysKeyListOutputWithContext ¶
func (i KeysKeyListArgs) ToKeysKeyListOutputWithContext(ctx context.Context) KeysKeyListOutput
type KeysKeyListArray ¶
type KeysKeyListArray []KeysKeyListInput
func (KeysKeyListArray) ElementType ¶
func (KeysKeyListArray) ElementType() reflect.Type
func (KeysKeyListArray) ToKeysKeyListArrayOutput ¶
func (i KeysKeyListArray) ToKeysKeyListArrayOutput() KeysKeyListArrayOutput
func (KeysKeyListArray) ToKeysKeyListArrayOutputWithContext ¶
func (i KeysKeyListArray) ToKeysKeyListArrayOutputWithContext(ctx context.Context) KeysKeyListArrayOutput
type KeysKeyListArrayInput ¶
type KeysKeyListArrayInput interface { pulumi.Input ToKeysKeyListArrayOutput() KeysKeyListArrayOutput ToKeysKeyListArrayOutputWithContext(context.Context) KeysKeyListArrayOutput }
KeysKeyListArrayInput is an input type that accepts KeysKeyListArray and KeysKeyListArrayOutput values. You can construct a concrete instance of `KeysKeyListArrayInput` via:
KeysKeyListArray{ KeysKeyListArgs{...} }
type KeysKeyListArrayOutput ¶
type KeysKeyListArrayOutput struct{ *pulumi.OutputState }
func (KeysKeyListArrayOutput) ElementType ¶
func (KeysKeyListArrayOutput) ElementType() reflect.Type
func (KeysKeyListArrayOutput) Index ¶
func (o KeysKeyListArrayOutput) Index(i pulumi.IntInput) KeysKeyListOutput
func (KeysKeyListArrayOutput) ToKeysKeyListArrayOutput ¶
func (o KeysKeyListArrayOutput) ToKeysKeyListArrayOutput() KeysKeyListArrayOutput
func (KeysKeyListArrayOutput) ToKeysKeyListArrayOutputWithContext ¶
func (o KeysKeyListArrayOutput) ToKeysKeyListArrayOutputWithContext(ctx context.Context) KeysKeyListArrayOutput
type KeysKeyListInput ¶
type KeysKeyListInput interface { pulumi.Input ToKeysKeyListOutput() KeysKeyListOutput ToKeysKeyListOutputWithContext(context.Context) KeysKeyListOutput }
KeysKeyListInput is an input type that accepts KeysKeyListArgs and KeysKeyListOutput values. You can construct a concrete instance of `KeysKeyListInput` via:
KeysKeyListArgs{...}
type KeysKeyListOutput ¶
type KeysKeyListOutput struct{ *pulumi.OutputState }
func (KeysKeyListOutput) Alias ¶
func (o KeysKeyListOutput) Alias() pulumi.StringOutput
func (KeysKeyListOutput) CreateTime ¶
func (o KeysKeyListOutput) CreateTime() pulumi.IntOutput
func (KeysKeyListOutput) CreatorUin ¶
func (o KeysKeyListOutput) CreatorUin() pulumi.IntOutput
func (KeysKeyListOutput) DeletionDate ¶
func (o KeysKeyListOutput) DeletionDate() pulumi.IntOutput
func (KeysKeyListOutput) Description ¶
func (o KeysKeyListOutput) Description() pulumi.StringOutput
func (KeysKeyListOutput) ElementType ¶
func (KeysKeyListOutput) ElementType() reflect.Type
func (KeysKeyListOutput) KeyId ¶
func (o KeysKeyListOutput) KeyId() pulumi.StringOutput
func (KeysKeyListOutput) KeyRotationEnabled ¶
func (o KeysKeyListOutput) KeyRotationEnabled() pulumi.BoolOutput
func (KeysKeyListOutput) KeyState ¶
func (o KeysKeyListOutput) KeyState() pulumi.StringOutput
func (KeysKeyListOutput) KeyUsage ¶
func (o KeysKeyListOutput) KeyUsage() pulumi.StringOutput
func (KeysKeyListOutput) NextRotateTime ¶
func (o KeysKeyListOutput) NextRotateTime() pulumi.IntOutput
func (KeysKeyListOutput) Origin ¶
func (o KeysKeyListOutput) Origin() pulumi.StringOutput
func (KeysKeyListOutput) Owner ¶
func (o KeysKeyListOutput) Owner() pulumi.StringOutput
func (KeysKeyListOutput) ToKeysKeyListOutput ¶
func (o KeysKeyListOutput) ToKeysKeyListOutput() KeysKeyListOutput
func (KeysKeyListOutput) ToKeysKeyListOutputWithContext ¶
func (o KeysKeyListOutput) ToKeysKeyListOutputWithContext(ctx context.Context) KeysKeyListOutput
func (KeysKeyListOutput) ValidTo ¶
func (o KeysKeyListOutput) ValidTo() pulumi.IntOutput
type KeysOutputArgs ¶
type KeysOutputArgs 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 Keys.
func (KeysOutputArgs) ElementType ¶
func (KeysOutputArgs) ElementType() reflect.Type
type KeysResult ¶
type KeysResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` KeyLists []KeysKeyList `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 Keys.
func Keys ¶
func Keys(ctx *pulumi.Context, args *KeysArgs, opts ...pulumi.InvokeOption) (*KeysResult, error)
type KeysResultOutput ¶
type KeysResultOutput struct{ *pulumi.OutputState }
A collection of values returned by Keys.
func KeysOutput ¶
func KeysOutput(ctx *pulumi.Context, args KeysOutputArgs, opts ...pulumi.InvokeOption) KeysResultOutput
func (KeysResultOutput) ElementType ¶
func (KeysResultOutput) ElementType() reflect.Type
func (KeysResultOutput) Id ¶
func (o KeysResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (KeysResultOutput) KeyLists ¶
func (o KeysResultOutput) KeyLists() KeysKeyListArrayOutput
func (KeysResultOutput) KeyState ¶
func (o KeysResultOutput) KeyState() pulumi.IntPtrOutput
func (KeysResultOutput) KeyUsage ¶
func (o KeysResultOutput) KeyUsage() pulumi.StringPtrOutput
func (KeysResultOutput) OrderType ¶
func (o KeysResultOutput) OrderType() pulumi.IntPtrOutput
func (KeysResultOutput) Origin ¶
func (o KeysResultOutput) Origin() pulumi.StringPtrOutput
func (KeysResultOutput) ResultOutputFile ¶
func (o KeysResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (KeysResultOutput) Role ¶
func (o KeysResultOutput) Role() pulumi.IntPtrOutput
func (KeysResultOutput) SearchKeyAlias ¶
func (o KeysResultOutput) SearchKeyAlias() pulumi.StringPtrOutput
func (KeysResultOutput) Tags ¶
func (o KeysResultOutput) Tags() pulumi.MapOutput
func (KeysResultOutput) ToKeysResultOutput ¶
func (o KeysResultOutput) ToKeysResultOutput() KeysResultOutput
func (KeysResultOutput) ToKeysResultOutputWithContext ¶
func (o KeysResultOutput) ToKeysResultOutputWithContext(ctx context.Context) KeysResultOutput
type KmsKey ¶
type KmsKey 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 GetKmsKey ¶
func GetKmsKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KmsKeyState, opts ...pulumi.ResourceOption) (*KmsKey, error)
GetKmsKey gets an existing KmsKey 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 NewKmsKey ¶
func NewKmsKey(ctx *pulumi.Context, name string, args *KmsKeyArgs, opts ...pulumi.ResourceOption) (*KmsKey, error)
NewKmsKey registers a new resource with the given unique name, arguments, and options.
func (*KmsKey) ElementType ¶
func (*KmsKey) ToKmsKeyOutput ¶
func (i *KmsKey) ToKmsKeyOutput() KmsKeyOutput
func (*KmsKey) ToKmsKeyOutputWithContext ¶
func (i *KmsKey) ToKmsKeyOutputWithContext(ctx context.Context) KmsKeyOutput
type KmsKeyArgs ¶
type KmsKeyArgs 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 KmsKey resource.
func (KmsKeyArgs) ElementType ¶
func (KmsKeyArgs) ElementType() reflect.Type
type KmsKeyArray ¶
type KmsKeyArray []KmsKeyInput
func (KmsKeyArray) ElementType ¶
func (KmsKeyArray) ElementType() reflect.Type
func (KmsKeyArray) ToKmsKeyArrayOutput ¶
func (i KmsKeyArray) ToKmsKeyArrayOutput() KmsKeyArrayOutput
func (KmsKeyArray) ToKmsKeyArrayOutputWithContext ¶
func (i KmsKeyArray) ToKmsKeyArrayOutputWithContext(ctx context.Context) KmsKeyArrayOutput
type KmsKeyArrayInput ¶
type KmsKeyArrayInput interface { pulumi.Input ToKmsKeyArrayOutput() KmsKeyArrayOutput ToKmsKeyArrayOutputWithContext(context.Context) KmsKeyArrayOutput }
KmsKeyArrayInput is an input type that accepts KmsKeyArray and KmsKeyArrayOutput values. You can construct a concrete instance of `KmsKeyArrayInput` via:
KmsKeyArray{ KmsKeyArgs{...} }
type KmsKeyArrayOutput ¶
type KmsKeyArrayOutput struct{ *pulumi.OutputState }
func (KmsKeyArrayOutput) ElementType ¶
func (KmsKeyArrayOutput) ElementType() reflect.Type
func (KmsKeyArrayOutput) Index ¶
func (o KmsKeyArrayOutput) Index(i pulumi.IntInput) KmsKeyOutput
func (KmsKeyArrayOutput) ToKmsKeyArrayOutput ¶
func (o KmsKeyArrayOutput) ToKmsKeyArrayOutput() KmsKeyArrayOutput
func (KmsKeyArrayOutput) ToKmsKeyArrayOutputWithContext ¶
func (o KmsKeyArrayOutput) ToKmsKeyArrayOutputWithContext(ctx context.Context) KmsKeyArrayOutput
type KmsKeyInput ¶
type KmsKeyInput interface { pulumi.Input ToKmsKeyOutput() KmsKeyOutput ToKmsKeyOutputWithContext(ctx context.Context) KmsKeyOutput }
type KmsKeyMap ¶
type KmsKeyMap map[string]KmsKeyInput
func (KmsKeyMap) ElementType ¶
func (KmsKeyMap) ToKmsKeyMapOutput ¶
func (i KmsKeyMap) ToKmsKeyMapOutput() KmsKeyMapOutput
func (KmsKeyMap) ToKmsKeyMapOutputWithContext ¶
func (i KmsKeyMap) ToKmsKeyMapOutputWithContext(ctx context.Context) KmsKeyMapOutput
type KmsKeyMapInput ¶
type KmsKeyMapInput interface { pulumi.Input ToKmsKeyMapOutput() KmsKeyMapOutput ToKmsKeyMapOutputWithContext(context.Context) KmsKeyMapOutput }
KmsKeyMapInput is an input type that accepts KmsKeyMap and KmsKeyMapOutput values. You can construct a concrete instance of `KmsKeyMapInput` via:
KmsKeyMap{ "key": KmsKeyArgs{...} }
type KmsKeyMapOutput ¶
type KmsKeyMapOutput struct{ *pulumi.OutputState }
func (KmsKeyMapOutput) ElementType ¶
func (KmsKeyMapOutput) ElementType() reflect.Type
func (KmsKeyMapOutput) MapIndex ¶
func (o KmsKeyMapOutput) MapIndex(k pulumi.StringInput) KmsKeyOutput
func (KmsKeyMapOutput) ToKmsKeyMapOutput ¶
func (o KmsKeyMapOutput) ToKmsKeyMapOutput() KmsKeyMapOutput
func (KmsKeyMapOutput) ToKmsKeyMapOutputWithContext ¶
func (o KmsKeyMapOutput) ToKmsKeyMapOutputWithContext(ctx context.Context) KmsKeyMapOutput
type KmsKeyOutput ¶
type KmsKeyOutput struct{ *pulumi.OutputState }
func (KmsKeyOutput) Alias ¶
func (o KmsKeyOutput) 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 (KmsKeyOutput) Description ¶
func (o KmsKeyOutput) Description() pulumi.StringPtrOutput
Description of CMK. The maximum is 1024 bytes.
func (KmsKeyOutput) ElementType ¶
func (KmsKeyOutput) ElementType() reflect.Type
func (KmsKeyOutput) IsArchived ¶
func (o KmsKeyOutput) 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 (KmsKeyOutput) IsEnabled ¶
func (o KmsKeyOutput) 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 (KmsKeyOutput) KeyRotationEnabled ¶
func (o KmsKeyOutput) KeyRotationEnabled() pulumi.BoolPtrOutput
Specify whether to enable key rotation, valid when key_usage is `ENCRYPT_DECRYPT`. Default value is `false`.
func (KmsKeyOutput) KeyUsage ¶
func (o KmsKeyOutput) 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 (KmsKeyOutput) PendingDeleteWindowInDays ¶
func (o KmsKeyOutput) 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 (KmsKeyOutput) ToKmsKeyOutput ¶
func (o KmsKeyOutput) ToKmsKeyOutput() KmsKeyOutput
func (KmsKeyOutput) ToKmsKeyOutputWithContext ¶
func (o KmsKeyOutput) ToKmsKeyOutputWithContext(ctx context.Context) KmsKeyOutput
type KmsKeyState ¶
type KmsKeyState 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 }
func (KmsKeyState) ElementType ¶
func (KmsKeyState) ElementType() reflect.Type