Show / Hide Table of Contents

Class AccessApplication

Provides a Cloudflare Access Application resource. Access Applications are used to restrict access to a whole application using an authorisation gateway managed by Cloudflare.

Example Usage

using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

class MyStack : Stack
{
public MyStack()
{
    var stagingApp = new Cloudflare.AccessApplication("stagingApp", new Cloudflare.AccessApplicationArgs
    {
        Domain = "staging.example.com",
        Name = "staging application",
        SessionDuration = "24h",
        ZoneId = "1d5fdc9e88c8a8c4518b068cd94331fe",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
AccessApplication
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Cloudflare
Assembly: Pulumi.Cloudflare.dll
Syntax
public class AccessApplication : CustomResource

Constructors

View Source

AccessApplication(String, AccessApplicationArgs, CustomResourceOptions)

Create a AccessApplication resource with the given unique name, arguments, and options.

Declaration
public AccessApplication(string name, AccessApplicationArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

AccessApplicationArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Aud

Application Audience (AUD) Tag of the application

Declaration
public Output<string> Aud { get; }
Property Value
Type Description
Output<System.String>
View Source

Domain

The complete URL of the asset you wish to put Cloudflare Access in front of. Can include subdomains or paths. Or both.

Declaration
public Output<string> Domain { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

Friendly name of the Access Application.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

SessionDuration

How often a user will be forced to re-authorise. Must be one of 30m, 6h, 12h, 24h, 168h, 730h.

Declaration
public Output<string> SessionDuration { get; }
Property Value
Type Description
Output<System.String>
View Source

ZoneId

The DNS zone to which the access rule should be added.

Declaration
public Output<string> ZoneId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, AccessApplicationState, CustomResourceOptions)

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

Declaration
public static AccessApplication Get(string name, Input<string> id, AccessApplicationState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

AccessApplicationState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
AccessApplication
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.