LogStream

Create a LogStream Resource

new LogStream(name: string, args: LogStreamArgs, opts?: CustomResourceOptions);
@overload
def LogStream(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              name: Optional[str] = None,
              sink: Optional[LogStreamSinkArgs] = None,
              status: Optional[str] = None,
              type: Optional[str] = None)
@overload
def LogStream(resource_name: str,
              args: LogStreamArgs,
              opts: Optional[ResourceOptions] = None)
func NewLogStream(ctx *Context, name string, args LogStreamArgs, opts ...ResourceOption) (*LogStream, error)
public LogStream(string name, LogStreamArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args LogStreamArgs
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 LogStreamArgs
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 LogStreamArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args LogStreamArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

LogStream Resource Properties

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

Inputs

The LogStream resource accepts the following input properties:

Sink LogStreamSinkArgs
Type string
Type of the log stream, which indicates the sink provider
Name string
Status string
Status of the LogStream
Sink LogStreamSink
Type string
Type of the log stream, which indicates the sink provider
Name string
Status string
Status of the LogStream
sink LogStreamSinkArgs
type string
Type of the log stream, which indicates the sink provider
name string
status string
Status of the LogStream
sink LogStreamSinkArgs
type str
Type of the log stream, which indicates the sink provider
name str
status str
Status of the LogStream

Outputs

All input properties are implicitly available as output properties. Additionally, the LogStream 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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing LogStream Resource

Get an existing LogStream 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?: LogStreamState, opts?: CustomResourceOptions): LogStream
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        name: Optional[str] = None,
        sink: Optional[LogStreamSinkArgs] = None,
        status: Optional[str] = None,
        type: Optional[str] = None) -> LogStream
func GetLogStream(ctx *Context, name string, id IDInput, state *LogStreamState, opts ...ResourceOption) (*LogStream, error)
public static LogStream Get(string name, Input<string> id, LogStreamState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Name string
Sink LogStreamSinkArgs
Status string
Status of the LogStream
Type string
Type of the log stream, which indicates the sink provider
Name string
Sink LogStreamSink
Status string
Status of the LogStream
Type string
Type of the log stream, which indicates the sink provider
name string
sink LogStreamSinkArgs
status string
Status of the LogStream
type string
Type of the log stream, which indicates the sink provider
name str
sink LogStreamSinkArgs
status str
Status of the LogStream
type str
Type of the log stream, which indicates the sink provider

Supporting Types

LogStreamSink

Package Details

Repository
https://github.com/pulumi/pulumi-auth0
License
Apache-2.0
Notes
This Pulumi package is based on the auth0 Terraform Provider.