google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.policysimulator/v1beta1.FolderReplay

Creates and starts a Replay using the given ReplayConfig. Auto-naming is currently not supported for this resource. Note - this resource’s API doesn’t support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Create FolderReplay Resource

new FolderReplay(name: string, args: FolderReplayArgs, opts?: CustomResourceOptions);
@overload
def FolderReplay(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 config: Optional[GoogleCloudPolicysimulatorV1beta1ReplayConfigArgs] = None,
                 folder_id: Optional[str] = None,
                 location: Optional[str] = None)
@overload
def FolderReplay(resource_name: str,
                 args: FolderReplayArgs,
                 opts: Optional[ResourceOptions] = None)
func NewFolderReplay(ctx *Context, name string, args FolderReplayArgs, opts ...ResourceOption) (*FolderReplay, error)
public FolderReplay(string name, FolderReplayArgs args, CustomResourceOptions? opts = null)
public FolderReplay(String name, FolderReplayArgs args)
public FolderReplay(String name, FolderReplayArgs args, CustomResourceOptions options)
type: google-native:policysimulator/v1beta1:FolderReplay
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FolderReplayArgs
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 FolderReplayArgs
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 FolderReplayArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FolderReplayArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FolderReplayArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

FolderReplay Resource Properties

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

Inputs

The FolderReplay resource accepts the following input properties:

Config GoogleCloudPolicysimulatorV1beta1ReplayConfigArgs

The configuration used for the Replay.

FolderId string
Location string
config GoogleCloudPolicysimulatorV1beta1ReplayConfigArgs

The configuration used for the Replay.

folderId String
location String
config GoogleCloudPolicysimulatorV1beta1ReplayConfigArgs

The configuration used for the Replay.

folderId string
location string
config Property Map

The configuration used for the Replay.

folderId String
location String

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

The resource name of the Replay, which has the following format: {projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}, where {resource-id} is the ID of the project, folder, or organization that owns the Replay. Example: projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36

ResultsSummary Pulumi.GoogleNative.PolicySimulator.V1Beta1.Outputs.GoogleCloudPolicysimulatorV1beta1ReplayResultsSummaryResponse

Summary statistics about the replayed log entries.

State string

The current state of the Replay.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The resource name of the Replay, which has the following format: {projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}, where {resource-id} is the ID of the project, folder, or organization that owns the Replay. Example: projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36

ResultsSummary GoogleCloudPolicysimulatorV1beta1ReplayResultsSummaryResponse

Summary statistics about the replayed log entries.

State string

The current state of the Replay.

id String

The provider-assigned unique ID for this managed resource.

name String

The resource name of the Replay, which has the following format: {projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}, where {resource-id} is the ID of the project, folder, or organization that owns the Replay. Example: projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36

resultsSummary GoogleCloudPolicysimulatorV1beta1ReplayResultsSummaryResponse

Summary statistics about the replayed log entries.

state String

The current state of the Replay.

id string

The provider-assigned unique ID for this managed resource.

name string

The resource name of the Replay, which has the following format: {projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}, where {resource-id} is the ID of the project, folder, or organization that owns the Replay. Example: projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36

resultsSummary GoogleCloudPolicysimulatorV1beta1ReplayResultsSummaryResponse

Summary statistics about the replayed log entries.

state string

The current state of the Replay.

id str

The provider-assigned unique ID for this managed resource.

name str

The resource name of the Replay, which has the following format: {projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}, where {resource-id} is the ID of the project, folder, or organization that owns the Replay. Example: projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36

results_summary GoogleCloudPolicysimulatorV1beta1ReplayResultsSummaryResponse

Summary statistics about the replayed log entries.

state str

The current state of the Replay.

id String

The provider-assigned unique ID for this managed resource.

name String

The resource name of the Replay, which has the following format: {projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}, where {resource-id} is the ID of the project, folder, or organization that owns the Replay. Example: projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36

resultsSummary Property Map

Summary statistics about the replayed log entries.

state String

The current state of the Replay.

Supporting Types

GoogleCloudPolicysimulatorV1beta1ReplayConfig

LogSource Pulumi.GoogleNative.PolicySimulator.V1Beta1.GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource

The logs to use as input for the Replay.

PolicyOverlay Dictionary<string, string>

A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, //cloudresourcemanager.googleapis.com/projects/my-project. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.

LogSource GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource

The logs to use as input for the Replay.

PolicyOverlay map[string]string

A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, //cloudresourcemanager.googleapis.com/projects/my-project. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.

logSource GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource

The logs to use as input for the Replay.

policyOverlay Map<String,String>

A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, //cloudresourcemanager.googleapis.com/projects/my-project. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.

logSource GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource

The logs to use as input for the Replay.

policyOverlay {[key: string]: string}

A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, //cloudresourcemanager.googleapis.com/projects/my-project. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.

log_source GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource

The logs to use as input for the Replay.

policy_overlay Mapping[str, str]

A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, //cloudresourcemanager.googleapis.com/projects/my-project. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.

logSource "LOG_SOURCE_UNSPECIFIED" | "RECENT_ACCESSES"

The logs to use as input for the Replay.

policyOverlay Map<String>

A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, //cloudresourcemanager.googleapis.com/projects/my-project. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.

GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource

LogSourceUnspecified
LOG_SOURCE_UNSPECIFIED

An unspecified log source. If the log source is unspecified, the Replay defaults to using RECENT_ACCESSES.

RecentAccesses
RECENT_ACCESSES

All access logs from the last 90 days. These logs may not include logs from the most recent 7 days.

GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSourceLogSourceUnspecified
LOG_SOURCE_UNSPECIFIED

An unspecified log source. If the log source is unspecified, the Replay defaults to using RECENT_ACCESSES.

GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSourceRecentAccesses
RECENT_ACCESSES

All access logs from the last 90 days. These logs may not include logs from the most recent 7 days.

LogSourceUnspecified
LOG_SOURCE_UNSPECIFIED

An unspecified log source. If the log source is unspecified, the Replay defaults to using RECENT_ACCESSES.

RecentAccesses
RECENT_ACCESSES

All access logs from the last 90 days. These logs may not include logs from the most recent 7 days.

LogSourceUnspecified
LOG_SOURCE_UNSPECIFIED

An unspecified log source. If the log source is unspecified, the Replay defaults to using RECENT_ACCESSES.

RecentAccesses
RECENT_ACCESSES

All access logs from the last 90 days. These logs may not include logs from the most recent 7 days.

LOG_SOURCE_UNSPECIFIED
LOG_SOURCE_UNSPECIFIED

An unspecified log source. If the log source is unspecified, the Replay defaults to using RECENT_ACCESSES.

RECENT_ACCESSES
RECENT_ACCESSES

All access logs from the last 90 days. These logs may not include logs from the most recent 7 days.

"LOG_SOURCE_UNSPECIFIED"
LOG_SOURCE_UNSPECIFIED

An unspecified log source. If the log source is unspecified, the Replay defaults to using RECENT_ACCESSES.

"RECENT_ACCESSES"
RECENT_ACCESSES

All access logs from the last 90 days. These logs may not include logs from the most recent 7 days.

GoogleCloudPolicysimulatorV1beta1ReplayConfigResponse

LogSource string

The logs to use as input for the Replay.

PolicyOverlay Dictionary<string, string>

A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, //cloudresourcemanager.googleapis.com/projects/my-project. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.

LogSource string

The logs to use as input for the Replay.

PolicyOverlay map[string]string

A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, //cloudresourcemanager.googleapis.com/projects/my-project. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.

logSource String

The logs to use as input for the Replay.

policyOverlay Map<String,String>

A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, //cloudresourcemanager.googleapis.com/projects/my-project. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.

logSource string

The logs to use as input for the Replay.

policyOverlay {[key: string]: string}

A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, //cloudresourcemanager.googleapis.com/projects/my-project. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.

log_source str

The logs to use as input for the Replay.

policy_overlay Mapping[str, str]

A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, //cloudresourcemanager.googleapis.com/projects/my-project. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.

logSource String

The logs to use as input for the Replay.

policyOverlay Map<String>

A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, //cloudresourcemanager.googleapis.com/projects/my-project. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.

GoogleCloudPolicysimulatorV1beta1ReplayResultsSummaryResponse

DifferenceCount int

The number of replayed log entries with a difference between baseline and simulated policies.

ErrorCount int

The number of log entries that could not be replayed.

LogCount int

The total number of log entries replayed.

NewestDate Pulumi.GoogleNative.PolicySimulator.V1Beta1.Inputs.GoogleTypeDateResponse

The date of the newest log entry replayed.

OldestDate Pulumi.GoogleNative.PolicySimulator.V1Beta1.Inputs.GoogleTypeDateResponse

The date of the oldest log entry replayed.

UnchangedCount int

The number of replayed log entries with no difference between baseline and simulated policies.

DifferenceCount int

The number of replayed log entries with a difference between baseline and simulated policies.

ErrorCount int

The number of log entries that could not be replayed.

LogCount int

The total number of log entries replayed.

NewestDate GoogleTypeDateResponse

The date of the newest log entry replayed.

OldestDate GoogleTypeDateResponse

The date of the oldest log entry replayed.

UnchangedCount int

The number of replayed log entries with no difference between baseline and simulated policies.

differenceCount Integer

The number of replayed log entries with a difference between baseline and simulated policies.

errorCount Integer

The number of log entries that could not be replayed.

logCount Integer

The total number of log entries replayed.

newestDate GoogleTypeDateResponse

The date of the newest log entry replayed.

oldestDate GoogleTypeDateResponse

The date of the oldest log entry replayed.

unchangedCount Integer

The number of replayed log entries with no difference between baseline and simulated policies.

differenceCount number

The number of replayed log entries with a difference between baseline and simulated policies.

errorCount number

The number of log entries that could not be replayed.

logCount number

The total number of log entries replayed.

newestDate GoogleTypeDateResponse

The date of the newest log entry replayed.

oldestDate GoogleTypeDateResponse

The date of the oldest log entry replayed.

unchangedCount number

The number of replayed log entries with no difference between baseline and simulated policies.

difference_count int

The number of replayed log entries with a difference between baseline and simulated policies.

error_count int

The number of log entries that could not be replayed.

log_count int

The total number of log entries replayed.

newest_date GoogleTypeDateResponse

The date of the newest log entry replayed.

oldest_date GoogleTypeDateResponse

The date of the oldest log entry replayed.

unchanged_count int

The number of replayed log entries with no difference between baseline and simulated policies.

differenceCount Number

The number of replayed log entries with a difference between baseline and simulated policies.

errorCount Number

The number of log entries that could not be replayed.

logCount Number

The total number of log entries replayed.

newestDate Property Map

The date of the newest log entry replayed.

oldestDate Property Map

The date of the oldest log entry replayed.

unchangedCount Number

The number of replayed log entries with no difference between baseline and simulated policies.

GoogleTypeDateResponse

Day int

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

Month int

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

Year int

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

Day int

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

Month int

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

Year int

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

day Integer

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

month Integer

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

year Integer

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

day number

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

month number

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

year number

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

day int

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

month int

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

year int

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

day Number

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

month Number

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

year Number

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0