1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. ZeroTrustKeyAccessKeyConfiguration
Cloudflare v5.43.0 published on Wednesday, Nov 13, 2024 by Pulumi

cloudflare.ZeroTrustKeyAccessKeyConfiguration

Explore with Pulumi AI

cloudflare logo
Cloudflare v5.43.0 published on Wednesday, Nov 13, 2024 by Pulumi

    Access Keys Configuration defines the rotation policy for the keys that access will use to sign data.

    Create ZeroTrustKeyAccessKeyConfiguration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ZeroTrustKeyAccessKeyConfiguration(name: string, args: ZeroTrustKeyAccessKeyConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def ZeroTrustKeyAccessKeyConfiguration(resource_name: str,
                                           args: ZeroTrustKeyAccessKeyConfigurationArgs,
                                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def ZeroTrustKeyAccessKeyConfiguration(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           account_id: Optional[str] = None,
                                           key_rotation_interval_days: Optional[int] = None)
    func NewZeroTrustKeyAccessKeyConfiguration(ctx *Context, name string, args ZeroTrustKeyAccessKeyConfigurationArgs, opts ...ResourceOption) (*ZeroTrustKeyAccessKeyConfiguration, error)
    public ZeroTrustKeyAccessKeyConfiguration(string name, ZeroTrustKeyAccessKeyConfigurationArgs args, CustomResourceOptions? opts = null)
    public ZeroTrustKeyAccessKeyConfiguration(String name, ZeroTrustKeyAccessKeyConfigurationArgs args)
    public ZeroTrustKeyAccessKeyConfiguration(String name, ZeroTrustKeyAccessKeyConfigurationArgs args, CustomResourceOptions options)
    
    type: cloudflare:ZeroTrustKeyAccessKeyConfiguration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ZeroTrustKeyAccessKeyConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ZeroTrustKeyAccessKeyConfigurationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ZeroTrustKeyAccessKeyConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ZeroTrustKeyAccessKeyConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ZeroTrustKeyAccessKeyConfigurationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var zeroTrustKeyAccessKeyConfigurationResource = new Cloudflare.ZeroTrustKeyAccessKeyConfiguration("zeroTrustKeyAccessKeyConfigurationResource", new()
    {
        AccountId = "string",
        KeyRotationIntervalDays = 0,
    });
    
    example, err := cloudflare.NewZeroTrustKeyAccessKeyConfiguration(ctx, "zeroTrustKeyAccessKeyConfigurationResource", &cloudflare.ZeroTrustKeyAccessKeyConfigurationArgs{
    	AccountId:               pulumi.String("string"),
    	KeyRotationIntervalDays: pulumi.Int(0),
    })
    
    var zeroTrustKeyAccessKeyConfigurationResource = new ZeroTrustKeyAccessKeyConfiguration("zeroTrustKeyAccessKeyConfigurationResource", ZeroTrustKeyAccessKeyConfigurationArgs.builder()
        .accountId("string")
        .keyRotationIntervalDays(0)
        .build());
    
    zero_trust_key_access_key_configuration_resource = cloudflare.ZeroTrustKeyAccessKeyConfiguration("zeroTrustKeyAccessKeyConfigurationResource",
        account_id="string",
        key_rotation_interval_days=0)
    
    const zeroTrustKeyAccessKeyConfigurationResource = new cloudflare.ZeroTrustKeyAccessKeyConfiguration("zeroTrustKeyAccessKeyConfigurationResource", {
        accountId: "string",
        keyRotationIntervalDays: 0,
    });
    
    type: cloudflare:ZeroTrustKeyAccessKeyConfiguration
    properties:
        accountId: string
        keyRotationIntervalDays: 0
    

    ZeroTrustKeyAccessKeyConfiguration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ZeroTrustKeyAccessKeyConfiguration resource accepts the following input properties:

    AccountId string
    The account identifier to target for the resource.
    KeyRotationIntervalDays int
    Number of days to trigger a rotation of the keys.
    AccountId string
    The account identifier to target for the resource.
    KeyRotationIntervalDays int
    Number of days to trigger a rotation of the keys.
    accountId String
    The account identifier to target for the resource.
    keyRotationIntervalDays Integer
    Number of days to trigger a rotation of the keys.
    accountId string
    The account identifier to target for the resource.
    keyRotationIntervalDays number
    Number of days to trigger a rotation of the keys.
    account_id str
    The account identifier to target for the resource.
    key_rotation_interval_days int
    Number of days to trigger a rotation of the keys.
    accountId String
    The account identifier to target for the resource.
    keyRotationIntervalDays Number
    Number of days to trigger a rotation of the keys.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ZeroTrustKeyAccessKeyConfiguration resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ZeroTrustKeyAccessKeyConfiguration Resource

    Get an existing ZeroTrustKeyAccessKeyConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ZeroTrustKeyAccessKeyConfigurationState, opts?: CustomResourceOptions): ZeroTrustKeyAccessKeyConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            key_rotation_interval_days: Optional[int] = None) -> ZeroTrustKeyAccessKeyConfiguration
    func GetZeroTrustKeyAccessKeyConfiguration(ctx *Context, name string, id IDInput, state *ZeroTrustKeyAccessKeyConfigurationState, opts ...ResourceOption) (*ZeroTrustKeyAccessKeyConfiguration, error)
    public static ZeroTrustKeyAccessKeyConfiguration Get(string name, Input<string> id, ZeroTrustKeyAccessKeyConfigurationState? state, CustomResourceOptions? opts = null)
    public static ZeroTrustKeyAccessKeyConfiguration get(String name, Output<String> id, ZeroTrustKeyAccessKeyConfigurationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    The account identifier to target for the resource.
    KeyRotationIntervalDays int
    Number of days to trigger a rotation of the keys.
    AccountId string
    The account identifier to target for the resource.
    KeyRotationIntervalDays int
    Number of days to trigger a rotation of the keys.
    accountId String
    The account identifier to target for the resource.
    keyRotationIntervalDays Integer
    Number of days to trigger a rotation of the keys.
    accountId string
    The account identifier to target for the resource.
    keyRotationIntervalDays number
    Number of days to trigger a rotation of the keys.
    account_id str
    The account identifier to target for the resource.
    key_rotation_interval_days int
    Number of days to trigger a rotation of the keys.
    accountId String
    The account identifier to target for the resource.
    keyRotationIntervalDays Number
    Number of days to trigger a rotation of the keys.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v5.43.0 published on Wednesday, Nov 13, 2024 by Pulumi